Closed SmartArray closed 6 years ago
BPPeerManagerMainNetNewEx adds the possibility to create an instance of BRPeerManager using a custom sync start block.
You can create this block as follows:
BRMerkleBlock* test = BRMerkleBlockNew(); test->blockHash = UInt256Reverse(uint256("7497ea1b465eb39f1c8f507bc877078fe016d6fcb6dfad3a64c98dcc6e1e8496")); test->height = 0; test->timestamp = 1389388394; test->target = 0x1e0ffff0;
BPPeerManagerMainNetNewEx adds the possibility to create an instance of BRPeerManager using a custom sync start block.
You can create this block as follows:
BRMerkleBlock* test = BRMerkleBlockNew(); test->blockHash = UInt256Reverse(uint256("7497ea1b465eb39f1c8f507bc877078fe016d6fcb6dfad3a64c98dcc6e1e8496")); test->height = 0; test->timestamp = 1389388394; test->target = 0x1e0ffff0;