Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Block represents each 'item' in the blockchain
- type Block struct {
- Index int
- Timestamp string
- BPM int
- Hash string
- PrevHash string
- }
- // Blockchain is a series of validated Blocks
- var Blockchain []Block
- var mutex = &sync.Mutex{}
Add Comment
Please, Sign In to add comment