13 Nov
2023
13 Nov
'23
1:36 p.m.
These are the bandaids I am using to run gaiad over a socks proxy such as tor.
Use like: $ all_proxy=socks5h://127.0.0.1:9050 gaiad start
I also tweaked config.toml to reduce the peers and increase the timeouts.
p2p/netaddress.go: add socks support p2p/transport.go: remove checks for duplicate remote ips blockchain/v0/pool.go: reduce block queue size and increase timeout
The changes apply to https://github.com/cometbft/cometbft . One can then use them with a change like this to go.mod: // Comet - github.com/tendermint/tendermint => github.com/cometbft/cometbft v0.34.29 + //github.com/tendermint/tendermint => github.com/cometbft/cometbft v0.34.29 + github.com/tendermint/tendermint => ../cometbft