# Functions
出块奖励交易*/.
区块链已存在时,调用此函数,创建并返回此时最新的区块链对象*/TODO:ContinueBlockChain调用了不必要的参数.
创建区块*/.
检查数据库是否存在*/.
对序列化后的区块进行反序列化*/.
将序列化后的交易输出数据反序列化*/.
No description provided by the author
创建创世区块(只含有一个Coinbase交易,因为这时候只有这个账户得到钱,其他人没钱,也就不可能有其他交易)*/.
TODO:参数创建带有创世区块的区块链,创世区块需指定创世区块coinbase收款人地址*/创世区块奖励接收者建议为 1111 1111 1111 1111 1111 1111 1111 1111 11.
No description provided by the author
No description provided by the author
创建新的工作量证明对象*/.
产生一笔新交易*/.
根据转账地址和金额生成新的交易输出,并且上锁*/本质就是创建一个交易输出对象.
# Constants
No description provided by the author
# Structs
No description provided by the author
No description provided by the author
No description provided by the author
BlockID identify block by Hash or/and Height (if not nill).
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
当前交易的输入 是其来源交易的输出张三、李四、王五等人曾经给过我一笔钱,现在我是用这笔钱,并对这笔钱签名,转给某某.
当前交易的输出,是其下个交易的输入,或者未花费转给某某多少钱.
No description provided by the author
No description provided by the author
# Type aliases
No description provided by the author