mirror of
https://github.com/ton-blockchain/ton
synced 2025-03-09 15:40:10 +00:00
Emulator improvements (#687)
* ticktock, unixtime, optional config * documentation * fix account.now * emulate tick/tock for emscripten * remove excessive check * limit stack serialization calls
This commit is contained in:
parent
86623b4cea
commit
c527bfeceb
6 changed files with 154 additions and 20 deletions
|
@ -59,6 +59,10 @@ public:
|
|||
return config_;
|
||||
}
|
||||
|
||||
ton::UnixTime get_unixtime() {
|
||||
return unixtime_;
|
||||
}
|
||||
|
||||
td::Result<std::unique_ptr<EmulationResult>> emulate_transaction(
|
||||
block::Account&& account, td::Ref<vm::Cell> msg_root, ton::UnixTime utime, ton::LogicalTime lt, int trans_type);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue