Documentation ¶
Index ¶
- func ConvertAddressToH160(addr [20]byte) *types.H160
- func ConvertBytesToH2048(data []byte) *types.H2048
- func ConvertBytesToH512(b []byte) *types.H512
- func ConvertH160toAddress(h160 *types.H160) [20]byte
- func ConvertH2048ToBloom(h2048 *types.H2048) [256]byte
- func ConvertH256ToHash(h256 *types.H256) [32]byte
- func ConvertH256ToUint256Int(h256 *types.H256) *uint256.Int
- func ConvertH512ToBytes(h512 *types.H512) []byte
- func ConvertH512ToHash(h512 *types.H512) [64]byte
- func ConvertHashToH256(hash [32]byte) *types.H256
- func ConvertHashToH512(hash [64]byte) *types.H512
- func ConvertHashesToH256(hashes [][32]byte) []*types.H256
- func ConvertUint256IntToH256(i *uint256.Int) *types.H256
- func EnsureVersion(local Version, remote *types.VersionReply) bool
- type Version
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertAddressToH160 ¶
func ConvertBytesToH2048 ¶
func ConvertBytesToH512 ¶
func ConvertH160toAddress ¶
func ConvertH2048ToBloom ¶
func ConvertH256ToHash ¶
func ConvertH512ToBytes ¶
func ConvertH512ToHash ¶
func ConvertHashToH256 ¶
func ConvertHashToH512 ¶
func ConvertHashesToH256 ¶
func EnsureVersion ¶
func EnsureVersion(local Version, remote *types.VersionReply) bool
EnsureVersion - Default policy: allow only patch difference
Types ¶
Click to show internal directories.
Click to hide internal directories.