转账,也有就数据的处理。那么就有源数据,最终处理结果。

这里指的是源数据里的“输出”相关数据:每一笔金额 + 身份证。

type Output_info struct {
    Amount           uint64     // only first output is locked
    Public_View_Key  crypto.Key // taken from address
    Public_Spend_Key crypto.Key // taken from address
    Scalar_Key       crypto.Key // used to encrypt amounts
    // Destination crypto.Key
    //Addr  address.Address
}

构建符合数据结构的交易之前,需要准备一些数据,例如:输出相关数据。

数据基本来源于转账时的录入数据,以及计算出来的找零。

results matching ""

    No results matching ""