Method | Description | |
---|---|---|
AddBlock ( BitSharp.Core.Domain.Block block ) : void | ||
CreateBlock ( UInt256 previousBlockHash, int txCount, UInt256 target = null, DateTimeOffset time = null ) : BitSharp.Core.Domain.Block | ||
CreateEmptyBlock ( UInt256 prevBlockHash, UInt256 target = null, DateTimeOffset time = null ) : BitSharp.Core.Domain.Block | ||
Fork ( int rollbackCount ) : TestBlocks | ||
MineAndAddBlock ( BitSharp.Core.Domain.Block newBlock ) : BitSharp.Core.Domain.Block | ||
MineAndAddBlock ( int txCount, UInt256 target = null, DateTimeOffset time = null ) : BitSharp.Core.Domain.Block | ||
MineAndAddEmptyBlock ( UInt256 target = null, DateTimeOffset time = null ) : BitSharp.Core.Domain.Block | ||
MineBlock ( BitSharp.Core.Domain.Block block ) : BitSharp.Core.Domain.Block | ||
MineBlock ( UInt256 prevBlockHash, int txCount, UInt256 target = null, DateTimeOffset time = null ) : BitSharp.Core.Domain.Block | ||
MineEmptyBlock ( UInt256 prevBlockHash, UInt256 target = null, DateTimeOffset time = null ) : BitSharp.Core.Domain.Block | ||
Rollback ( int count ) : void | ||
TestBlocks ( BitSharp.Core.Domain.Block genesisBlock = null ) : BitSharp.Common | ||
TestBlocks ( TestBlocks parent ) : BitSharp.Common |
public AddBlock ( BitSharp.Core.Domain.Block block ) : void | ||
block | BitSharp.Core.Domain.Block | |
return | void |
public CreateBlock ( UInt256 previousBlockHash, int txCount, UInt256 target = null, DateTimeOffset time = null ) : BitSharp.Core.Domain.Block | ||
previousBlockHash | UInt256 | |
txCount | int | |
target | UInt256 | |
time | DateTimeOffset | |
return | BitSharp.Core.Domain.Block |
public CreateEmptyBlock ( UInt256 prevBlockHash, UInt256 target = null, DateTimeOffset time = null ) : BitSharp.Core.Domain.Block | ||
prevBlockHash | UInt256 | |
target | UInt256 | |
time | DateTimeOffset | |
return | BitSharp.Core.Domain.Block |
public Fork ( int rollbackCount ) : TestBlocks | ||
rollbackCount | int | |
return | TestBlocks |
public MineAndAddBlock ( BitSharp.Core.Domain.Block newBlock ) : BitSharp.Core.Domain.Block | ||
newBlock | BitSharp.Core.Domain.Block | |
return | BitSharp.Core.Domain.Block |
public MineAndAddBlock ( int txCount, UInt256 target = null, DateTimeOffset time = null ) : BitSharp.Core.Domain.Block | ||
txCount | int | |
target | UInt256 | |
time | DateTimeOffset | |
return | BitSharp.Core.Domain.Block |
public MineAndAddEmptyBlock ( UInt256 target = null, DateTimeOffset time = null ) : BitSharp.Core.Domain.Block | ||
target | UInt256 | |
time | DateTimeOffset | |
return | BitSharp.Core.Domain.Block |
public MineBlock ( BitSharp.Core.Domain.Block block ) : BitSharp.Core.Domain.Block | ||
block | BitSharp.Core.Domain.Block | |
return | BitSharp.Core.Domain.Block |
public MineBlock ( UInt256 prevBlockHash, int txCount, UInt256 target = null, DateTimeOffset time = null ) : BitSharp.Core.Domain.Block | ||
prevBlockHash | UInt256 | |
txCount | int | |
target | UInt256 | |
time | DateTimeOffset | |
return | BitSharp.Core.Domain.Block |
public MineEmptyBlock ( UInt256 prevBlockHash, UInt256 target = null, DateTimeOffset time = null ) : BitSharp.Core.Domain.Block | ||
prevBlockHash | UInt256 | |
target | UInt256 | |
time | DateTimeOffset | |
return | BitSharp.Core.Domain.Block |
public TestBlocks ( BitSharp.Core.Domain.Block genesisBlock = null ) : BitSharp.Common | ||
genesisBlock | BitSharp.Core.Domain.Block | |
return | BitSharp.Common |
public TestBlocks ( TestBlocks parent ) : BitSharp.Common | ||
parent | TestBlocks | |
return | BitSharp.Common |