Closed KayBeSee closed 2 years ago
Oh ha. This is the problem:
fulcrum_1 | [2022-04-22 19:40:58.816] FATAL: PeerMgr cannot be started for the given chain "regtest"
Yeah, so I have the PeerManager die with a fatal error if it is enabled. Peering is enabled by default, but of course this doesn't make sense on regtest
, since each chain is local to the machine and peering is almost nonsensical in that case. Maybe I should modify Fulcrum to not do a fatal error there. Hmm. Good catch.
Ok so to fix this add the following to the conf file:
peering = false
@KayBeSee I just pushed commit b8c670a which should help mitigate this potential trap for users wishing to run regtest. Fulcrum will just proceed anyway even if peering = true
but PeerMgr
failed to start. You can pull latest master and rebuild your docker composer thing if you like and it should just work now, no conf file modifications needed.
Very nice, that appears to be working. Thanks!
Nice catch man this actually was a sort of "bug" or at least user-experience incongruity. Thanks for reporting! Do feel free to open up new issues if you have more questions. This helps others too, to have questions in the issue tracker. You never know maybe others encounter the same problem(s) or have similar questions.
No problem, will do! Thanks for building a fantastic service!
Hey Calin,
I am struggling to get the tcp service to run on regtest.
I have fulcrum connected to my bitcoind node and it is processing the regtest data (
fulcrum_1 | [2022-04-22 19:40:58.811] <Controller> Processed 132 new blocks with 132 txs (132 inputs, 263 outputs, 132 addresses), verified ok.
)This is the output from fulcrum:
I also verified that bitcoind had completed it's initial block download and it looks like it has. This is the output from running
getblockchaininfo
.My fulcrum.conf file looks like this:
I noticed in #91 that there is an output about the TcpSrv starting but I am not seeing that in my output. Any idea why the tcp server is not starting?