Comments (7)
Does
Proxy: "127.0.0.1:1080",
work?
from btcrpcclient.
No it doesn't. I'm getting;
parse 127.0.0.1:1080: first path segment in URL cannot contain colon
with that configuration.
from btcrpcclient.
from btcrpcclient.
Getting;
Post http://192.168.1.10:8332: EOF
when prefixing the http:// scheme. Same as when prefixing with socks:// as the scheme.
from btcrpcclient.
Have managed to work around this by removing;
var proxyFunc func(*http.Request) (*url.URL, error)
if config.Proxy != "" {
proxyURL, err := url.Parse(config.Proxy)
if err != nil {
return nil, err
}
proxyFunc = http.ProxyURL(proxyURL)
}
and instead overwriting the client.Transport with a new one where Dial() is provided by socks.Proxy{}. It kinda resembles the solution which is implemented for the websocket proxy configuration further down.
from btcrpcclient.
A little stuck for time, at the moment, but can test and submit a patch this weekend if it would be helpful.
from btcrpcclient.
This issue was moved to btcsuite/btcd#1005
from btcrpcclient.
Related Issues (20)
- how to get the send address by TxID? HOT 1
- Remove -v to unclutter travis logs
- map[btcutil.Address]btcutil.Amount in sendmany is a pretty dangerous HOT 7
- Missing getmempoolentry HOT 3
- bip125-replaceable is missing in ListTransactionsResult HOT 1
- Parsing received notifications should not check for exact number of positional parameters HOT 1
- Variable coin symbol HOT 1
- Missing `gettxoutproof` HOT 1
- TransactionInput doesn't have a sequence HOT 1
- GetTransaction includeWatchOnly HOT 3
- OP_RETURN Transaction HOT 2
- New RPC Commands
- addwitnessaddress is missing HOT 1
- json: cannot unmarshal number -1 into Go struct field GetBlockVerboseResult.confirmations of type uint64
- client.GetBlockVerboseTx does not work with bitcoind
- Getting block by hash doesn't return height HOT 2
- ListSinceBlock and ListSinceBlockMinConf docs are dangerously wrong HOT 1
- getblockheader is not exposed HOT 3
- `GetBlockVerbose` is broken for bitcoin core HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from btcrpcclient.