Inputs []*query.AnnotatedInput `json:"inputs"`
Outputs []*query.AnnotatedOutput `json:"outputs"`
StatusFail bool `json:"status_fail"`
+ SourceID bc.Hash `json:"source_id"`
}
// BlockReq is used to handle getBlock req
NewSuccessResponse(resp)
}
+ for id, e := range orig.Entries {
+ switch e.(type) {
+ case *bc.Mux:
+ tx.SourceID = id
+ default:
+ continue
+ }
+ }
+
for i := range orig.Inputs {
tx.Inputs = append(tx.Inputs, a.wallet.BuildAnnotatedInput(orig, uint32(i)))
}