near / nearcore

Reference client for NEAR Protocol
https://near.org
GNU General Public License v3.0
2.32k stars 623 forks source link

ReceiptBlock #480

Closed ilblackdragon closed 5 years ago

ilblackdragon commented 5 years ago

Currently, Receipts are stored without attached source information.

We need to store receipts only in ReceiptBlock:

struct ReceiptBlock {
   header: SignedBlockHeader,
   merkle_path: Vec<CryptoHash>,
   receipts: Vec<Receipt>,
}

Thus can't be stored together with SignedTransaction.

bowenwang1996 commented 5 years ago

Resolved in #514