forked from ethereum/go-ethereum
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
l1 meta: timestamp and blocknumber (ethereum#114)
* l1 meta: timestamp and blocknumber * internal: remove dead test * api: return the last l1 timestamp * tx: add l1 timestamp getter/setter * ethapi: remove dead code * sync service: handle timestamp setting * miner: set timestamp right before execution * syncservice: set timestamp correctly * sync service: handle l1blocknumber * test: test for correct timestamp * tx: remove newline * rollup api: add rollup_getLatestCrossDomainInfo * timestamp: use max(5 mins ago, last l1 timestamp * miner: properly set l1 timestamp * miner: remove timestamp loop * lint: fix * api: fix spelling, return hex for consistency * sync service: update the timestamp if too old * rollup: clean up struct comment * txmeta: fix comment * txmeta: fix json struct tag * timestamps: move closer to the source * rollup: sequencer batch append bugfixes * miner: clean up logic * rollup: more determism * miner: clean up * verifier: use nil as l1txorigin * rollup: simplify confirmation depth logic * api: don't set the l1blocknumber or l1timestamp * syncservice: clean up applylogs * miner: hide functionality behind using_ovm * rollup: add ethsign ctc parsing * comments: clean up * sync service: clean up test * sync service: initialize latest eth1 data * sync service: protection for verifier * rollup: safely set the timestamp, log if unexpected result * api-backend: don't allow txs to 0 address
- Loading branch information
Showing
14 changed files
with
367 additions
and
685 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.