mirror of
https://github.com/ton-blockchain/ton
synced 2025-03-09 15:40:10 +00:00
Add method listBlockTransactionsExt to liteserver (#399)
* Verify proof for method blocks.getTransactions * check completeness of response * fix start_lt * fix mode & 128, check bTxes->ids_ out of bounds * Improve gitactions; separate cpp-check (#346) * Use ninja build tool and compile blockchain-explorer Ninja builds TON much faster; * Use clang instead of gcc * remove blockchain-explorer since target not found on github action * move ccpcheck to other gitaction * run nativelib-java only against wallets branch for now * rename gitaction * Update windows2019x64-tonlib-java.yml * Update windows2019x64-tonlib-java.yml * Update macos-10.15-tonlib-java.yml * Update windows2019x64-tonlib-java.yml * Update windows2019x64-tonlib-java.yml * rebase * update tlo's * Revert "Improve gitactions; separate cpp-check (#346)" This reverts commit bd1d96e6d391e48840d81cfcf10d2692848e504e. * add checks, simplify ls response * Revert workflows * Add verifying proofs * fix win build --------- Co-authored-by: neodiX42 <namlem@gmail.com>
This commit is contained in:
parent
4db7ad039a
commit
078aabe50e
10 changed files with 502 additions and 16 deletions
|
@ -88,4 +88,36 @@ struct TransactionList {
|
|||
td::Result<Info> validate() const;
|
||||
};
|
||||
|
||||
struct BlockTransaction {
|
||||
ton::BlockIdExt blkid;
|
||||
td::Ref<vm::Cell> root;
|
||||
td::Ref<vm::Cell> proof;
|
||||
|
||||
struct Info {
|
||||
ton::BlockIdExt blkid;
|
||||
td::uint32 now;
|
||||
ton::LogicalTime lt;
|
||||
ton::Bits256 hash;
|
||||
td::Ref<vm::Cell> transaction;
|
||||
};
|
||||
td::Result<Info> validate(bool check_proof) const;
|
||||
};
|
||||
|
||||
struct BlockTransactionList {
|
||||
ton::BlockIdExt blkid;
|
||||
td::BufferSlice transactions_boc;
|
||||
td::BufferSlice proof_boc;
|
||||
ton::LogicalTime start_lt;
|
||||
td::Bits256 start_addr;
|
||||
bool reverse_mode;
|
||||
int req_count;
|
||||
|
||||
struct Info {
|
||||
ton::BlockIdExt blkid;
|
||||
std::vector<BlockTransaction::Info> transactions;
|
||||
};
|
||||
|
||||
td::Result<Info> validate(bool check_proof) const;
|
||||
};
|
||||
|
||||
} // namespace block
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue