Last active
May 17, 2021 04:26
-
-
Save bluepnume/4123245dd4aff1799237cdce22444723 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export type TransactionType = {| | |
sender : string, | |
receiver : string, | |
amount : number, | |
fee : number | |
|}; | |
export type BlockType = {| | |
miner : string, | |
parentid : string, | |
id : string, | |
index : number, | |
time : number, | |
elapsed : number, | |
transactions : Array<TransactionType>, | |
difficulty : number, | |
reward : number | |
|}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment