Created
May 13, 2021 07:22
-
-
Save bluepnume/708f68ef8ac9bd453d0c12ba30440a20 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
type MemPool = Array<{| | |
fee : number, | |
signedTransaction : string | |
|}>; | |
type BitcoinNodeType = {| | |
getPublicKey : () => Promise<string>, | |
run : () => Promise<void>, | |
send : (receiver : string, amount : number, fee : number) => Promise<void>, | |
getBlockChain : () => BlockChainType, | |
getMemPool : () => MemPool | |
|}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment