Documentation ¶
Index ¶
- func AppendLockedBlock()
- func GenesisBlockchain(blockDataString string)
- func GetAddressBalance(jeffCoinAddress string) string
- func GetBlock(id string) blockStruct
- func GetBlockchain() blockchainSlice
- func GetLockedBlock() blockStruct
- func GetPendingBlock() blockStruct
- func LockPendingBlock(difficulty int)
- func ProcessTxRequestMessage(txRequestMessageSigned string) string
- func RequestBlockchain(networkIP string, networkTCPPort string) error
- func ResetPendingBlock()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AppendLockedBlock ¶
func AppendLockedBlock()
AppendLockedBlock - Appends the lockedBlock to the blockchain
func GenesisBlockchain ¶
func GenesisBlockchain(blockDataString string)
GenesisBlockchain - Creates the blockchain
func GetAddressBalance ¶
GetAddressBalance - Gets the jeffCoin Address balance
func GetBlock ¶
func GetBlock(id string) blockStruct
GetBlock - Gets a block (via Index number) from the blockchain
func LockPendingBlock ¶
func LockPendingBlock(difficulty int)
LockPendingBlock - Moves the pendingBlock to the lockedBlock
func ProcessTxRequestMessage ¶
ProcessTxRequestMessage - Request to transfer jeffCoins to a jeffCoin Address
func RequestBlockchain ¶
RequestBlockchain - Requests the blockchain and the pendingBlock from a Network Node
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.