S
S
Sergey Krivochenko2018-08-30 15:54:47
bitcoin
Sergey Krivochenko, 2018-08-30 15:54:47

How to connect to bitcoint-regtest?

Hello. Run in docker container:
bitcoind -datadir=/bitcoin -regtest -listen.
Generated blocks. 50 bitcoins on balance. Now I want to simulate a situation in which I transfer bitcoins to another wallet. Installed Bitcoin Core on the parent OS (Windows).
Now I have port 18444 of the container mapped to 18000 of the host. I start bitcoin core like this:

"C:\Program Files\Bitcoin\bitcoin-qt.exe" -connect=127.0.0.1:18000 -regtest

With this, there is no progress, except that the log begins to fill up with thousands of entries:
2018-08-30 12:40:31 New outbound peer connected: version: 70015, blocks=103, peer=0
2018-08-30 12:40:31 ERROR: AcceptBlock: bad-witness-nonce-size, ContextualCheckBlock : invalid witness nonce size (code 16)
2018-08-30 12:40:31 Misbehaving: 127.0.0.1:18000 peer=0 (0 -> 100) BAN THRESHOLD EXCEEDED
2018-08-30 12:40:31 ERROR: ProcessNewBlock: AcceptBlock FAILED (ContextualCheckBlock : invalid witness nonce size)
2018-08-30 12:40:31 Warning: not punishing manually-connected peer 127.0.0.1:18000!
2018-08-30 12:40:31 ERROR: AcceptBlock: bad-witness-nonce-size, ContextualCheckBlock : invalid witness nonce size (code 16)
2018-08-30 12:40:31 Misbehaving: 127.0.0.1:18000 peer=0 (100 -> 200)
2018-08-30 12:40:31 ERROR: ProcessNewBlock: AcceptBlock FAILED (ContextualCheckBlock : invalid witness nonce size)
2018-08-30 12:40:31 ERROR: AcceptBlock: bad-witness-nonce-size, ContextualCheckBlock : invalid witness nonce size (code 16)
2018-08-30 12:40:31 Misbehaving: 127.0.0.1:18000 peer=0 (200 -> 300)

If I restart Bitcoin core, then "Number of blocks left" is displayed - the number of blocks I generated. However, there is still no progress, and the log continues to fill with the same messages.
What am I doing wrong? Thank you.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dimonchik, 2018-08-30
@dimonchik2013

they connect to it via RCP, don't they?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question