Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Continuation of "How to sync testnet of BCHN" #415

Closed
sugawara0620 opened this issue Nov 17, 2020 · 5 comments
Closed

Continuation of "How to sync testnet of BCHN" #415

sugawara0620 opened this issue Nov 17, 2020 · 5 comments

Comments

@sugawara0620
Copy link

Hi,

I try to test my application with Bitcoin ABC 0.22.6 (BCHN Network).

I expect this sync to testnet of BCHN.
But this sync to testnet of BCHA(https://texplorer.bitcoincash.org/).

I use this.
https://download.bitcoinabc.org/bchn/0.22.6/linux/bitcoin-abc-0.22.6-x86_64-linux-gnu.tar.gz

And here is a start of the logs.

2020-11-16T02:09:56Z Bitcoin ABC version v0.22.6-fb3ee2224 (release build)
2020-11-16T02:09:56Z Checkpoints will be verified.
2020-11-16T02:09:56Z Assuming ancestors of block 00000000000000830172be2a72b3f82958ed326e18319833931423cf1fb855d9 have valid signatures.
2020-11-16T02:09:56Z Setting nMinimumChainWork=00000000000000000000000000000000000000000000006e40c4825ce5884b99
2020-11-16T02:09:56Z Using the 'sse4(1way),sse41(4way),avx2(8way)' SHA256 implementation
2020-11-16T02:09:56Z Using RdSeed as additional entropy source
2020-11-16T02:09:56Z Using RdRand as an additional entropy source
2020-11-16T02:09:56Z Default data directory /home/app/.bitcoin
2020-11-16T02:09:56Z Using data directory /home/app/.bitcoin/testnet3
2020-11-16T02:09:56Z Config file: /home/app/.bitcoin/bitcoin.conf
2020-11-16T02:09:56Z Config file arg: datadir="/home/app/.bitcoin"
2020-11-16T02:09:56Z Config file arg: printtoconsole="1"
2020-11-16T02:09:56Z Config file arg: rest="1"
2020-11-16T02:09:56Z Config file arg: rpcallowip="127.0.0.1"
2020-11-16T02:09:56Z Config file arg: rpcauth=****
2020-11-16T02:09:56Z Config file arg: server="1"
2020-11-16T02:09:56Z Config file arg: testnet="3"
2020-11-16T02:09:56Z Config file arg: txindex="1"
2020-11-16T02:09:56Z Config file arg: [test] rpcbind=****
2020-11-16T02:09:56Z Config file arg: [test] rpcport="18332"
2020-11-16T02:09:56Z Command-line arg: datadir="/home/app/.bitcoin"

Is this specification or failure on configuration?

Thanks.

@sugawara0620 sugawara0620 changed the title How to sync testnet of BCHN Continuation of "How to sync testnet of BCHN" Nov 17, 2020
@sugawara0620
Copy link
Author

Now I find this message.

$ bitcoind -help
Bitcoin ABC version v0.22.6-fb3ee2224 (Bitcoin Cash Node network)

Usage:  bitcoind [options]                     Start Bitcoin ABC

@sugawara0620
Copy link
Author

00000000289d6afe7e55fe62a7b21b5d0d5481189bb6d9e8dad5e194078e434a was not accepted although it's first block of the fork on BCHN network.

2020-11-17T10:04:04Z bad bits after height: 1421483
2020-11-17T10:04:04Z ERROR: AcceptBlockHeader: Consensus::ContextualCheckBlockHeader: 00000000289d6afe7e55fe62a7b21b5d0d5481189bb6d9e8dad5e194078e434a, bad-diffbits, incorrect proof of work
2020-11-17T10:04:04Z Misbehaving: 193.135.10.144:18333 peer=2 (0 -> 100) reason: invalid header received BAN THRESHOLD EXCEEDED
2020-11-17T10:04:04Z Disconnecting and discouraging peer 193.135.10.144:18333!

@RealityRipple
Copy link

Run reconsiderblock on the block just before the one you listed.

@Mengerian
Copy link
Collaborator

Is this specification or failure on configuration?

Yes, this is the expected behavior. Your testnet node seems to be operating normally.

The testnet for BCHN version of ABC is at texplorer.bitcoincash.org

It is the same as the BCHA testnet, since the two networks operate almost exactly the same (other than the coinbase rule - which is disabled on testnet)

@sugawara0620
Copy link
Author

Thanks. I got it.

ftrader pushed a commit to bitcoin-cash-node/bitcoin-cash-node that referenced this issue May 29, 2022
Correct median calculation in benchmarks

Closes Bitcoin-ABC#415

See merge request bitcoin-cash-node/bitcoin-cash-node!1511
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants