btcsuite / btcd

An alternative full node bitcoin implementation written in Go (golang)
https://github.com/btcsuite/btcd/blob/master/README.md
ISC License
6.1k stars 2.31k forks source link

no way to set rpcVersion! this is too freaky for https://getblock.io/ #2086

Closed xpoy1 closed 5 months ago

xpoy1 commented 6 months ago

https://getblock.io/ need rpcVersion 2 to call succuss, and doesn't support batch request. There are no way to set rpcversion and batch option both correct at now

Roasbeef commented 6 months ago

Can you describe your issue in more detail?

You can enable batch which will use rpc version 2, eg: https://github.com/btcsuite/btcd/blob/master/rpcclient/infrastructure.go#L1005