package
2.0.1+incompatible
Repository: https://github.com/dipperin/dipperin-core.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

calculate block nonce.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
CopyHeader creates a deep copy of a block header to prevent side effects from modifying a header variable.
No description provided by the author
No description provided by the author
No description provided by the author
.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
IntrinsicGas computes the 'intrinsic gas' for a message with the given data.
No description provided by the author
Getting the latest cycle's block num, Return the same num in the same cycle to ensure that caching is available new block num - 1 = cur block num.
No description provided by the author
todo set signer config.
No description provided by the author
No description provided by the author
there are empty blocks in a Recent block, so we need to consider empty blocks and use a new method.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
assuming genesis blocks level is 0,other level,relative to the paper description, move one layer as a whole.
Name CalledBy Parameters Return */.
No description provided by the author
No description provided by the author
NewTransactionsByPriceAndNonce creates a transaction set that can retrieve price sorted transactions in a nonce-honouring way.
NewTxCacher creates a new transaction id background cacher and starts as many processing goroutines as allowed by the GOMAXPROCS on construction.
No description provided by the author
No description provided by the author
No description provided by the author
Create a new signature VoteMsg.
Input TXs-list and Algorithms for Goroutine.
No description provided by the author
maybe set handler outside.
TxDifference returns a new set which is the difference between a and b.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

No description provided by the author
No description provided by the author
4096 blocks in a cycle , if the cycle is too short, will lead to occasional large deviations which will affect the whole too much.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Whether the tag skips the difficulty value validation in the case of unit testing is not skipped by default.
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

Check whether the signature is correct and match the corresponding address to exclude the case that one person votes twice.
No description provided by the author
No description provided by the author
swagger:response Body.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
TransactionsByPriceAndNonce represents a set of transactions that can return transactions in a profit-maximizing sorted order, while supporting removing entire batches of transactions for non-executable accounts.
txCacher is a helper structure to concurrently recover transaction id from digital signatures on background threads.
No description provided by the author
No description provided by the author
No description provided by the author

# Interfaces

go:generate mockgen -destination=./../cs-chain/chain-writer/block_mock_test.go -package=chain_writer github.com/dipperin/dipperin-core/core/model AbstractBlockgo:generate mockgen -destination=./../economy-model/block_mock_test.go -package=economy_model github.com/dipperin/dipperin-core/core/model AbstractBlockgo:generate mockgen -destination=./../rpc-interface/block_mock_test.go -package=rpc_interface github.com/dipperin/dipperin-core/core/model AbstractBlock.
No description provided by the author
No description provided by the author
go:generate mockgen -destination=./../chain-communication/transaction_mock_test.go -package=chain_communication github.com/dipperin/dipperin-core/core/model AbstractTransaction.
go:generate mockgen -destination=./../economy-model/verification_mock_test.go -package=economy_model github.com/dipperin/dipperin-core/core/model AbstractVerificationgo:generate mockgen -destination=./../../cmd/utils/ver-halt-check/verification_mock_test.go -package=ver_halt_check github.com/dipperin/dipperin-core/core/model AbstractVerificationgo:generate mockgen -destination=./../cs-chain/chain-writer/middleware/verification_mock_test.go -package=middleware github.com/dipperin/dipperin-core/core/model AbstractVerification.
No description provided by the author
only have interface use diff rlp handler.
only have interface use diff rlp handler.
No description provided by the author
No description provided by the author
No description provided by the author
signer define different kind of method handling signature.

# Type aliases

merkle Root for AbstractTransaction.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Transactions is a Transaction slice type for basic sorting.
TxByPrice implements both the sort and the heap interface, making it useful for all at once sorting as well as individually adding and removing elements.
merkle Root for AbstractVerification.
go:generate stringer -type=VoteMsgType.