Closed shohu closed 6 years ago
I changed to #35 source. I got success.
# test/functional/p2p-acceptblock.py
2018-06-05 07:14:25.235000 TestFramework (INFO): Initializing test directory /tmp/testad_xfclb
2018-06-05 07:14:25.506000 TestFramework.mininode (INFO): Connecting to Bitcoin Node: 127.0.0.1:14906
2018-06-05 07:14:25.506000 TestFramework.mininode (INFO): Connecting to Bitcoin Node: 127.0.0.1:14907
2018-06-05 07:14:25.783000 TestFramework (INFO): First height 2 block accepted by node0; correctly rejected by node1
2018-06-05 07:14:26.001000 TestFramework (INFO): Second height 2 block accepted, but not reorg'ed to
2018-06-05 07:14:26.108000 TestFramework (INFO): Unrequested more-work block accepted
2018-06-05 07:14:26.832000 TestFramework.mininode (INFO): Connecting to Bitcoin Node: 127.0.0.1:14906
2018-06-05 07:14:27.041000 TestFramework (INFO): Unrequested block that would complete more-work chain was ignored
2018-06-05 07:14:27.143000 TestFramework (INFO): Inv at tip triggered getdata for unprocessed block
2018-06-05 07:14:27.407000 TestFramework (INFO): Successfully reorged to longer chain from non-whitelisted peer
2018-06-05 07:14:28.266000 TestFramework (INFO): Successfully synced nodes 1 and 0
2018-06-05 07:14:28.267000 TestFramework (INFO): Stopping nodes
2018-06-05 07:14:30.490000 TestFramework (INFO): Cleaning up
2018-06-05 07:14:30.493000 TestFramework (INFO): Tests successful
test code output
debug.log