成熟机制

对是否成熟进行判断。

//this file implements the logic to detect whether an input is mature or still locked
//This function is crucial as any bugs can have catastrophic effects
//this function is used both by the core blockchain and wallet
//TODO we need to check the edge cases

根据 current_chain_height、input_block_height、locked_to_height、sigtype,软件配置及当前时间进行判断。

挖矿交易锁定 60 个区块,普通转账交易锁定 11 个区块。

results matching ""

    No results matching ""