Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Transaction ¶
type Transaction struct { Address string Amount float64 TransactionID string Hash string Confirmations int64 BlockCreatedAt time.Time }
Transaction _
type Wallet ¶
type Wallet interface { GetBlock(bestBlock bool, height int64) (*Block, error) GetReceivedSince(prevHash, curHash string) ([]Transaction, error) SendFromAccountToAddress(account, address string, amount float64) (string, error) GetDestAddress() (string, error) GetConfirmationsFromTxID(txID string) (int64, error) }
Wallet defines interface that one should implement for blockchain manipulation
Click to show internal directories.
Click to hide internal directories.