Skip to content

generatetoaddress method with chain regtest does not work properly #14

Description

@1oid

bitcoind server command

bitcoind -chain=regtest -datadir=/mnt/bitcoin/regtest/data -rpcuser=user -rpcpassword=password

bitcoin-cli command

call createwallet and getnewaddress methods

bitcoin-cli -chain=regtest -rpcuser=user -rpcpassword=password createwallet test
bitcoin-cli -chain=regtest -rpcuser=user -rpcpassword=password -rpcwallet=test getnewaddress

call generatetoaddress method

bitcoin-cli -chain=regtest -rpcuser=user -rpcpassword=password -rpcwallet=test generatetoaddress 101 "2N6moXvzwhwfWGf2a1PJVREdzR2MBzFefpy"

get responsed

ProcessNewBlock, block not accepted

Server log errors

2024-09-19T11:13:05Z Using wallet directory /mnt/bitcoin/fractald/data/regtest/wallets
2024-09-19T11:13:05Z init message: Verifying wallet(s)…
2024-09-19T11:13:05Z Using /16 prefix for IP bucketing
2024-09-19T11:13:05Z init message: Loading P2P addresses…
2024-09-19T11:13:05Z Loaded 0 addresses from peers.dat  0ms
2024-09-19T11:13:05Z init message: Loading banlist…
2024-09-19T11:13:05Z SetNetworkActive: true
2024-09-19T11:13:05Z CBlockPolicyEstimator::Read(): unable to read policy estimator data (non-fatal): up-version (149900) fee estimate file
2024-09-19T11:13:05Z Failed to read fee estimates from /mnt/bitcoin/fractald/data/regtest/fee_estimates.dat. Continue anyway.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions