chaintope / bitcoinrb

The implementation of the bitcoin protocol for ruby.
MIT License
61 stars 19 forks source link

fix PeerDiscovery#peers failure in regtest mode. #2

Closed Yamaguchi closed 6 years ago

Yamaguchi commented 6 years ago

regtestで起動するとPeerDiscovery#peersで落ちる問題に対応しました。 chain_paramsのdns_seedsが定義されていない場合は、connectで定義されたノードに直接アクセスするようにしています。