getblocktemplate fails in regtest mode even when it is connected to the other node #13274

issue nirajkr openend this issue on May 18, 2018
  1. nirajkr commented at 12:00 pm on May 18, 2018: none

    I have created two nodes and connected the 1st node with the 2nd node in regtest mode . Now when I make the getblocktemplate command using bitcoin-cli . It fails with bitcoin is downloading the block.

    Bitcoin core vs v0.16

    admin1@root:~/Projects/bitcoin$ ./src/bitcoin-cli -regtest -port=8333 -rpcport=8332 -rpcuser=test -rpcpassword=test getconnectioncount 1 admin1@root:~/Projects/bitcoin$ ./src/bitcoin-cli -regtest -port=8333 -rpcport=8332 -rpcuser=test -rpcpassword=test getblocktemplate error code: -10 error message: Bitcoin is downloading blocks.

  2. MarcoFalke commented at 6:27 pm on May 18, 2018: member
    You might want to generate/download at least one block first
  3. MarcoFalke closed this on May 18, 2018

  4. cyxinyi commented at 7:35 am on March 28, 2019: none
    how to resolved
  5. MarcoFalke referenced this in commit ba54342c9d on Apr 3, 2019
  6. vijaydasmp referenced this in commit 8dfd53f942 on Oct 5, 2021
  7. vijaydasmp referenced this in commit 1fcb154575 on Oct 12, 2021
  8. vijaydasmp referenced this in commit 3c37a0751e on Oct 14, 2021
  9. vijaydasmp referenced this in commit 685e458821 on Oct 14, 2021
  10. vijaydasmp referenced this in commit 5df5656e01 on Oct 16, 2021
  11. pravblockc referenced this in commit d5e042d53c on Nov 18, 2021
  12. MarcoFalke locked this on Dec 16, 2021

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2024-10-30 00:12 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me