Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlockBase ¶
type BlockBase interface { Init(interface{}) error AddTransaction(TransactionBase) (bool, error) }
BlockBase ... The Interface for a block using HippoTesting Platform.
type ClientBase ¶
type ClientBase interface { Init(interface{}) error Run() error SetGood() error SetEvil() error SetHashFunction(HashFunction) error GetHashFunction() HashFunction Pause() error Stop() error GetGenisis() *BlockBase GetKeyPair() *KeyPair Sync() error }
ClientBase ... The Interface for a coin using HippoTesting Platform.
type KeyPair ¶
type KeyPair struct { PublicKey crypto.PublicKey PrivateKey crypto.PrivateKey }
KeyPair ...
func NewKeyPair ¶
func NewKeyPair(publicKey crypto.PublicKey, privateKey crypto.PrivateKey) *KeyPair
NewKeyPair ...
type TransactionBase ¶
type TransactionBase interface {
Init(interface{}) error
}
TransactionBase interface ... The Interface for a block using HippoTesting Platform.
Click to show internal directories.
Click to hide internal directories.