Documentation ¶
Index ¶
Constants ¶
View Source
const ( DiscoveryServiceTag = "mercury-service-tag" DiscoveryServiceTag_PendingTxs = "pending_txs" DiscoveryServiceTag_Blocks = "blocks" DiscoveryServiceTag_Announce = "announce" )
Variables ¶
This section is empty.
Functions ¶
func GeneratePrivateKey ¶
GeneratePrivateKey - creates a private key with the given seed
Types ¶
type Node ¶
type Node struct {
// contains filtered or unexported fields
}
func (*Node) AddPendingTX ¶
* Add a pending transaction to the node's pending transactions array
type PendingBlock ¶
type PendingBlock struct {
// contains filtered or unexported fields
}
PendingBlock represents a block before it has been mined
func NewPendingBlock ¶
Click to show internal directories.
Click to hide internal directories.