-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Initial Tendermint implementation #145
Commits on Oct 3, 2022
-
Configuration menu - View commit details
-
Copy full SHA for b56c884 - Browse repository at this point
Copy the full SHA b56c884View commit details
Commits on Oct 13, 2022
-
Configuration menu - View commit details
-
Copy full SHA for d081934 - Browse repository at this point
Copy the full SHA d081934View commit details
Commits on Oct 16, 2022
-
Configuration menu - View commit details
-
Copy full SHA for ccd4ef1 - Browse repository at this point
Copy the full SHA ccd4ef1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1237c41 - Browse repository at this point
Copy the full SHA 1237c41View commit details -
Refactor out external parts to generics
Also creates a dedicated file for the message log.
Configuration menu - View commit details
-
Copy full SHA for a5f1dda - Browse repository at this point
Copy the full SHA a5f1ddaView commit details -
Configuration menu - View commit details
-
Copy full SHA for f793212 - Browse repository at this point
Copy the full SHA f793212View commit details -
Configuration menu - View commit details
-
Copy full SHA for 77ba1c0 - Browse repository at this point
Copy the full SHA 77ba1c0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 079eee9 - Browse repository at this point
Copy the full SHA 079eee9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3b2352b - Browse repository at this point
Copy the full SHA 3b2352bView commit details -
Configuration menu - View commit details
-
Copy full SHA for c53c15f - Browse repository at this point
Copy the full SHA c53c15fView commit details -
Configuration menu - View commit details
-
Copy full SHA for a0bc9dc - Browse repository at this point
Copy the full SHA a0bc9dcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 85962c0 - Browse repository at this point
Copy the full SHA 85962c0View commit details -
Implement serialization via parity's scale codec
Ideally, this would be generic. Unfortunately, the generic API serde doesn't natively support borsh, nor SCALE, and while there is a serde SCALE crate, it's old. While it may be complete, it's not worth working with. While we could still grab bincode, and a variety of other formats, it wasn't worth it to go custom and for Serai, we'll be using SCALE almost everywhere anyways.
Configuration menu - View commit details
-
Copy full SHA for 987aa51 - Browse repository at this point
Copy the full SHA 987aa51View commit details -
Configuration menu - View commit details
-
Copy full SHA for 329a48c - Browse repository at this point
Copy the full SHA 329a48cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1c71e25 - Browse repository at this point
Copy the full SHA 1c71e25View commit details
Commits on Oct 17, 2022
-
Provide a dedicated signature in Precommit of just the block hash
Greatly simplifies verifying when syncing.
Configuration menu - View commit details
-
Copy full SHA for b993ff1 - Browse repository at this point
Copy the full SHA b993ff1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6155d12 - Browse repository at this point
Copy the full SHA 6155d12View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0501ff2 - Browse repository at this point
Copy the full SHA 0501ff2View commit details -
Configuration menu - View commit details
-
Copy full SHA for f28d412 - Browse repository at this point
Copy the full SHA f28d412View commit details -
Sign the ID directly instead of its SCALE encoding
For a hash, which is fixed-size, these should be the same yet this helps move past the dependency on SCALE. It also, for any type where the two values are different, smooths integration.
Configuration menu - View commit details
-
Copy full SHA for 5724f52 - Browse repository at this point
Copy the full SHA 5724f52View commit details -
Also attempts to make the code more readable while updating/correcting documentation.
Configuration menu - View commit details
-
Copy full SHA for 8b6eb11 - Browse repository at this point
Copy the full SHA 8b6eb11View commit details -
Greatly increases safety as well by ensuring only one message is processed at once.
Configuration menu - View commit details
-
Copy full SHA for 6b56510 - Browse repository at this point
Copy the full SHA 6b56510View commit details
Commits on Oct 20, 2022
-
1) Commit didn't include the round, leaving the clock in question. 2) Machines started with a local time, instead of a proper start time. 3) Machines immediately started the next block instead of waiting for the block time.
Configuration menu - View commit details
-
Copy full SHA for ff41e9f - Browse repository at this point
Copy the full SHA ff41e9fView commit details -
Configuration menu - View commit details
-
Copy full SHA for cc8284a - Browse repository at this point
Copy the full SHA cc8284aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3c6ea6e - Browse repository at this point
Copy the full SHA 3c6ea6eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9db42f7 - Browse repository at this point
Copy the full SHA 9db42f7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 975c9d7 - Browse repository at this point
Copy the full SHA 975c9d7View commit details -
Configuration menu - View commit details
-
Copy full SHA for eb59dd5 - Browse repository at this point
Copy the full SHA eb59dd5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 49a26e5 - Browse repository at this point
Copy the full SHA 49a26e5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2806831 - Browse repository at this point
Copy the full SHA 2806831View commit details
Commits on Oct 21, 2022
-
Implement tendermint_machine::Block for Substrate Blocks
Unfortunately, this immediately makes Tendermint machine capable of deployment as crate since it uses a git reference. In the future, a Cargo.toml patch section for serai/substrate should be investigated. This is being done regardless as it's the quickest way forward and this is for Serai.
Configuration menu - View commit details
-
Copy full SHA for 5c46edb - Browse repository at this point
Copy the full SHA 5c46edbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2cf1573 - Browse repository at this point
Copy the full SHA 2cf1573View commit details -
Configuration menu - View commit details
-
Copy full SHA for 56afb13 - Browse repository at this point
Copy the full SHA 56afb13View commit details -
Move logic into TendermintImport itself
Multiple traits exist to verify/handle blocks. I'm unsure exactly when each will be called in the pipeline, so the easiest solution is to have every step run every check. That would be extremely computationally expensive if we ran EVERY check, yet we rely on Substrate for execution (and according checks), which are limited to just the actual import function. Since we're calling this code from many places, it makes sense for it to be consolidated under TendermintImport.
Configuration menu - View commit details
-
Copy full SHA for bdd0b42 - Browse repository at this point
Copy the full SHA bdd0b42View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3b08633 - Browse repository at this point
Copy the full SHA 3b08633View commit details -
Update consensus/lib.rs from PoW to Tendermint
Not possible to be used as the previous consensus could. It will not produce blocks nor does it currenly even instantiate a machine. This is just he next step.
Configuration menu - View commit details
-
Copy full SHA for c0432e1 - Browse repository at this point
Copy the full SHA c0432e1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 976948e - Browse repository at this point
Copy the full SHA 976948eView commit details -
Configuration menu - View commit details
-
Copy full SHA for fcb9148 - Browse repository at this point
Copy the full SHA fcb9148View commit details -
This is incompatible with Substrate's expectations, yet should be valid for ours
Configuration menu - View commit details
-
Copy full SHA for 123b8ad - Browse repository at this point
Copy the full SHA 123b8adView commit details -
Configuration menu - View commit details
-
Copy full SHA for b8bff65 - Browse repository at this point
Copy the full SHA b8bff65View commit details -
Configuration menu - View commit details
-
Copy full SHA for f153235 - Browse repository at this point
Copy the full SHA f153235View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0a58d66 - Browse repository at this point
Copy the full SHA 0a58d66View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0218db0 - Browse repository at this point
Copy the full SHA 0218db0View commit details -
This shouldn't be used as a library AFAIK. While runtime should be, and arguably should even be published, I have yet to see node in the same way. Helps tighten API boundaries.
Configuration menu - View commit details
-
Copy full SHA for 802f873 - Browse repository at this point
Copy the full SHA 802f873View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5019f4c - Browse repository at this point
Copy the full SHA 5019f4cView commit details
Commits on Oct 22, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 422f7e3 - Browse repository at this point
Copy the full SHA 422f7e3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4bfc8d7 - Browse repository at this point
Copy the full SHA 4bfc8d7View commit details -
Configuration menu - View commit details
-
Copy full SHA for e8df74e - Browse repository at this point
Copy the full SHA e8df74eView commit details -
Configuration menu - View commit details
-
Copy full SHA for adfc9a5 - Browse repository at this point
Copy the full SHA adfc9a5View commit details -
Configuration menu - View commit details
-
Copy full SHA for bf5bdb8 - Browse repository at this point
Copy the full SHA bf5bdb8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5e52817 - Browse repository at this point
Copy the full SHA 5e52817View commit details -
Doesn't wait for the response yet, which it needs to.
Configuration menu - View commit details
-
Copy full SHA for 8ed0f1f - Browse repository at this point
Copy the full SHA 8ed0f1fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 193281e - Browse repository at this point
Copy the full SHA 193281eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 39984bd - Browse repository at this point
Copy the full SHA 39984bdView commit details -
Provide a way to create the machine
The BasicQueue returned obscures the TendermintImport struct. Accordingly, a Future scoped with access is returned upwards, which when awaited will create the machine. This makes creating the machine optional while maintaining scope boundaries. Is sufficient to create a 1-node net which produces and finalizes blocks.
Configuration menu - View commit details
-
Copy full SHA for 9b0dca0 - Browse repository at this point
Copy the full SHA 9b0dca0View commit details -
Don't import justifications multiple times
Also don't broadcast blocks which were solely proposed.
Configuration menu - View commit details
-
Copy full SHA for 4206ed3 - Browse repository at this point
Copy the full SHA 4206ed3View commit details -
Correct justication import pipeline
Removes JustificationImport as it should never be used.
Configuration menu - View commit details
-
Copy full SHA for dee6993 - Browse repository at this point
Copy the full SHA dee6993View commit details -
By claiming File, they're not sent ovber the P2P network before they have a justification, as desired. Unfortunately, they never were. This works around that.
Configuration menu - View commit details
-
Copy full SHA for 8a682cd - Browse repository at this point
Copy the full SHA 8a682cdView commit details -
Configuration menu - View commit details
-
Copy full SHA for e8e490d - Browse repository at this point
Copy the full SHA e8e490dView commit details
Commits on Oct 24, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 4859e8c - Browse repository at this point
Copy the full SHA 4859e8cView commit details -
Configuration menu - View commit details
-
Copy full SHA for b6dddc4 - Browse repository at this point
Copy the full SHA b6dddc4View commit details -
Substrate doesn't expect nor officially support children with less work than their parents. It's a trick used here. Accordingly, ensure the trick's validity.
Configuration menu - View commit details
-
Copy full SHA for 78fa292 - Browse repository at this point
Copy the full SHA 78fa292View commit details -
When resetting, use the end time of the round which was committed to
The machine reset to the end time of the current round. For a delayed network connection, a machine may move ahead in rounds and only later realize a prior round succeeded. Despite acknowledging that round's success, it would maintain its delay when moving to the next block, bricking it. Done by tracking the end time for each round as they occur.
Configuration menu - View commit details
-
Copy full SHA for b9c091c - Browse repository at this point
Copy the full SHA b9c091cView commit details -
Move Commit from including the round to including the round's end_time
The round was usable to build the current clock in an accumulated fashion, relative to the previous round. The end time is the absolute metric of it, which can be used to calculate the round number (with all previous end times). Substrate now builds off the best block, not genesis, using the end time included in the justification to start its machine in a synchronized state. Knowing the end time of a round, or the round in which block was committed to, is necessary for nodes to sync up with Tendermint. Encoding it in the commit ensures it's long lasting and makes it readily available, without the load of an entire transaction.
Configuration menu - View commit details
-
Copy full SHA for a7f4804 - Browse repository at this point
Copy the full SHA a7f4804View commit details -
Configuration menu - View commit details
-
Copy full SHA for b5cb8a9 - Browse repository at this point
Copy the full SHA b5cb8a9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 05be5c1 - Browse repository at this point
Copy the full SHA 05be5c1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9b8f2f4 - Browse repository at this point
Copy the full SHA 9b8f2f4View commit details
Commits on Oct 25, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 5839f44 - Browse repository at this point
Copy the full SHA 5839f44View commit details -
Configuration menu - View commit details
-
Copy full SHA for 285152b - Browse repository at this point
Copy the full SHA 285152bView commit details
Commits on Oct 27, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 49ab262 - Browse repository at this point
Copy the full SHA 49ab262View commit details -
Configuration menu - View commit details
-
Copy full SHA for fa7a03b - Browse repository at this point
Copy the full SHA fa7a03bView commit details -
Configuration menu - View commit details
-
Copy full SHA for eb41844 - Browse repository at this point
Copy the full SHA eb41844View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4c2dd9b - Browse repository at this point
Copy the full SHA 4c2dd9bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 66f7663 - Browse repository at this point
Copy the full SHA 66f7663View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5c08fa9 - Browse repository at this point
Copy the full SHA 5c08fa9View commit details -
At some point, the modulus was removed causing it to exceed the validators list and stop proposing.
Configuration menu - View commit details
-
Copy full SHA for f91c081 - Browse repository at this point
Copy the full SHA f91c081View commit details
Commits on Oct 29, 2022
-
Configuration menu - View commit details
-
Copy full SHA for aec3637 - Browse repository at this point
Copy the full SHA aec3637View commit details -
Configuration menu - View commit details
-
Copy full SHA for b17aac4 - Browse repository at this point
Copy the full SHA b17aac4View commit details -
Configuration menu - View commit details
-
Copy full SHA for c4c3dcd - Browse repository at this point
Copy the full SHA c4c3dcdView commit details -
Configuration menu - View commit details
-
Copy full SHA for a0c892d - Browse repository at this point
Copy the full SHA a0c892dView commit details -
Configuration menu - View commit details
-
Copy full SHA for f31c457 - Browse repository at this point
Copy the full SHA f31c457View commit details
Commits on Oct 30, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 9a54317 - Browse repository at this point
Copy the full SHA 9a54317View commit details -
Correct Substrate Tendermint start block
The Tendermint machine uses the passed in number as the block's being worked on number. Substrate passed in the already finalized block's number. Also updates misc comments.
Configuration menu - View commit details
-
Copy full SHA for 8d3efd6 - Browse repository at this point
Copy the full SHA 8d3efd6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6838d5c - Browse repository at this point
Copy the full SHA 6838d5cView commit details -
Remove the Future triggering the machine for an async fn
Enables passing data in, such as the network.
Configuration menu - View commit details
-
Copy full SHA for edb2e00 - Browse repository at this point
Copy the full SHA edb2e00View commit details -
Move TendermintMachine from start_num, time to last_num, time
Provides an explicitly clear API clearer to program around. Also adds additional time code to handle an edge case.
Configuration menu - View commit details
-
Copy full SHA for 1af6117 - Browse repository at this point
Copy the full SHA 1af6117View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6c54289 - Browse repository at this point
Copy the full SHA 6c54289View commit details -
Configuration menu - View commit details
-
Copy full SHA for aee0bde - Browse repository at this point
Copy the full SHA aee0bdeView commit details -
Configuration menu - View commit details
-
Copy full SHA for f37adf4 - Browse repository at this point
Copy the full SHA f37adf4View commit details -
Merge Verifier into block_import.rs
These two files were largely the same, just hooking into sync structs with almost identical imports. As this project shapes up, removing dead weight is appreciated.
Configuration menu - View commit details
-
Copy full SHA for 066bc40 - Browse repository at this point
Copy the full SHA 066bc40View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3d7c12a - Browse repository at this point
Copy the full SHA 3d7c12aView commit details -
Configuration menu - View commit details
-
Copy full SHA for a0e0545 - Browse repository at this point
Copy the full SHA a0e0545View commit details -
Move serai_runtime specific code from tendermint/client to node
Renames serai-consensus to sc_tendermint
Configuration menu - View commit details
-
Copy full SHA for 91ae2b7 - Browse repository at this point
Copy the full SHA 91ae2b7View commit details -
Configuration menu - View commit details
-
Copy full SHA for c005664 - Browse repository at this point
Copy the full SHA c005664View commit details -
Replace best_* with finalized_*
We test their equivalency yet still better to use finalized_* in general.
Configuration menu - View commit details
-
Copy full SHA for 503adfe - Browse repository at this point
Copy the full SHA 503adfeView commit details -
Configuration menu - View commit details
-
Copy full SHA for c4976ff - Browse repository at this point
Copy the full SHA c4976ffView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8f06553 - Browse repository at this point
Copy the full SHA 8f06553View commit details
Commits on Nov 1, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 45a5d3e - Browse repository at this point
Copy the full SHA 45a5d3eView commit details -
Configuration menu - View commit details
-
Copy full SHA for e38a7e0 - Browse repository at this point
Copy the full SHA e38a7e0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2947ef0 - Browse repository at this point
Copy the full SHA 2947ef0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 19154cf - Browse repository at this point
Copy the full SHA 19154cfView commit details -
Configuration menu - View commit details
-
Copy full SHA for aa0a4cf - Browse repository at this point
Copy the full SHA aa0a4cfView commit details
Commits on Nov 2, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 5832007 - Browse repository at this point
Copy the full SHA 5832007View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9a26ac6 - Browse repository at this point
Copy the full SHA 9a26ac6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 86aaada - Browse repository at this point
Copy the full SHA 86aaadaView commit details -
Configuration menu - View commit details
-
Copy full SHA for e3fc3f2 - Browse repository at this point
Copy the full SHA e3fc3f2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 38cee04 - Browse repository at this point
Copy the full SHA 38cee04View commit details -
Configuration menu - View commit details
-
Copy full SHA for ca043f5 - Browse repository at this point
Copy the full SHA ca043f5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2182b66 - Browse repository at this point
Copy the full SHA 2182b66View commit details -
Configuration menu - View commit details
-
Copy full SHA for 16065cc - Browse repository at this point
Copy the full SHA 16065ccView commit details -
Add an already in chain check to block import
While the inner should do this for us, we call verify_order on our end *before* inner to ensure sequential import. Accordingly, we need to provide our own check. Removes errors of "non-sequential import" when trying to re-import an existing block.
Configuration menu - View commit details
-
Copy full SHA for 40b6cb7 - Browse repository at this point
Copy the full SHA 40b6cb7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5cfe2d5 - Browse repository at this point
Copy the full SHA 5cfe2d5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 83caa8b - Browse repository at this point
Copy the full SHA 83caa8bView commit details -
Make the dev profile a local testnet profile
Restores a dev profile which only has one validator, locally running.
Configuration menu - View commit details
-
Copy full SHA for 083198e - Browse repository at this point
Copy the full SHA 083198eView commit details
Commits on Nov 3, 2022
-
Configuration menu - View commit details
-
Copy full SHA for f3e1771 - Browse repository at this point
Copy the full SHA f3e1771View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2b503b6 - Browse repository at this point
Copy the full SHA 2b503b6View commit details -
Configuration menu - View commit details
-
Copy full SHA for f4d622a - Browse repository at this point
Copy the full SHA f4d622aView commit details -
Configuration menu - View commit details
-
Copy full SHA for de0e672 - Browse repository at this point
Copy the full SHA de0e672View commit details -
Configuration menu - View commit details
-
Copy full SHA for cf8bdf2 - Browse repository at this point
Copy the full SHA cf8bdf2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 131355b - Browse repository at this point
Copy the full SHA 131355bView commit details -
--dev still works thanks to the |. Acheieves a personal preference of mine with some historical meaning.
Configuration menu - View commit details
-
Copy full SHA for 63df908 - Browse repository at this point
Copy the full SHA 63df908View commit details -
Configuration menu - View commit details
-
Copy full SHA for bd08cd3 - Browse repository at this point
Copy the full SHA bd08cd3View commit details -
Localize the LibP2P protocol to the blockchain
Follows convention by doing so. Theoretically enables running multiple blockchains over a single LibP2P connection.
Configuration menu - View commit details
-
Copy full SHA for 2315b3c - Browse repository at this point
Copy the full SHA 2315b3cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1ff51c1 - Browse repository at this point
Copy the full SHA 1ff51c1View commit details -
Configuration menu - View commit details
-
Copy full SHA for ea646c8 - Browse repository at this point
Copy the full SHA ea646c8View commit details
Commits on Nov 4, 2022
-
Configuration menu - View commit details
-
Copy full SHA for af63c3e - Browse repository at this point
Copy the full SHA af63c3eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1a3b6dc - Browse repository at this point
Copy the full SHA 1a3b6dcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 55e32e2 - Browse repository at this point
Copy the full SHA 55e32e2View commit details -
Configuration menu - View commit details
-
Copy full SHA for c31a55c - Browse repository at this point
Copy the full SHA c31a55cView commit details
Commits on Nov 8, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 5dab335 - Browse repository at this point
Copy the full SHA 5dab335View commit details -
Configuration menu - View commit details
-
Copy full SHA for 16a2c9a - Browse repository at this point
Copy the full SHA 16a2c9aView commit details
Commits on Nov 9, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 56a21ca - Browse repository at this point
Copy the full SHA 56a21caView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2cb1d35 - Browse repository at this point
Copy the full SHA 2cb1d35View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1c81922 - Browse repository at this point
Copy the full SHA 1c81922View commit details -
Configuration menu - View commit details
-
Copy full SHA for f7b1ff9 - Browse repository at this point
Copy the full SHA f7b1ff9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7d46daa - Browse repository at this point
Copy the full SHA 7d46daaView commit details
Commits on Nov 11, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 6f74bad - Browse repository at this point
Copy the full SHA 6f74badView commit details -
Configuration menu - View commit details
-
Copy full SHA for c9334ee - Browse repository at this point
Copy the full SHA c9334eeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0fb9d43 - Browse repository at this point
Copy the full SHA 0fb9d43View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2411660 - Browse repository at this point
Copy the full SHA 2411660View commit details -
Configuration menu - View commit details
-
Copy full SHA for fffb7a6 - Browse repository at this point
Copy the full SHA fffb7a6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 354bcef - Browse repository at this point
Copy the full SHA 354bcefView commit details -
Also adds a slash condition of failing to propose.
Configuration menu - View commit details
-
Copy full SHA for dbcddb2 - Browse repository at this point
Copy the full SHA dbcddb2View commit details -
Support running TendermintMachine when not a validator
This supports validators who leave the current set, without crashing their nodes, along with nodes trying to become validators (who will now seamlessly transition in).
Configuration menu - View commit details
-
Copy full SHA for 43b43bd - Browse repository at this point
Copy the full SHA 43b43bdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 32ad6de - Browse repository at this point
Copy the full SHA 32ad6deView commit details
Commits on Nov 12, 2022
-
The proposer will build it, send it, then process it (on the first round). Accordingly, it's / 3, not / 2, as / 2 only accounted for the latter events.
Configuration menu - View commit details
-
Copy full SHA for ecde185 - Browse repository at this point
Copy the full SHA ecde185View commit details -
Configuration menu - View commit details
-
Copy full SHA for ca3a29f - Browse repository at this point
Copy the full SHA ca3a29fView commit details -
Configuration menu - View commit details
-
Copy full SHA for b53759c - Browse repository at this point
Copy the full SHA b53759cView commit details -
Configuration menu - View commit details
-
Copy full SHA for e2e7a70 - Browse repository at this point
Copy the full SHA e2e7a70View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9e72f87 - Browse repository at this point
Copy the full SHA 9e72f87View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2f3bb88 - Browse repository at this point
Copy the full SHA 2f3bb88View commit details -
Configuration menu - View commit details
-
Copy full SHA for b7b57ee - Browse repository at this point
Copy the full SHA b7b57eeView commit details -
Move Round to an Option due to the pseudo-uninitialized state we create
Before the addition of RoundData, we always created the round, and on .round(0), simply created it again. With RoundData, and the changes to the time code, we used round 0, time 0, the latter being incorrect yet not an issue due to lack of misuse. Now, if we do misuse it, it'll panic.
Configuration menu - View commit details
-
Copy full SHA for 8508783 - Browse repository at this point
Copy the full SHA 8508783View commit details -
Clear the Queue instead of draining and filtering
There shouldn't ever be a message which passes the filter under the current design.
Configuration menu - View commit details
-
Copy full SHA for 2de4ab8 - Browse repository at this point
Copy the full SHA 2de4ab8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4ba469e - Browse repository at this point
Copy the full SHA 4ba469eView commit details
Commits on Nov 13, 2022
-
Introduces type-aliases to obtain Data/Message/SignedMessage solely from a Network object. Fixes a bug regarding stepping when you're not an active validator.
Configuration menu - View commit details
-
Copy full SHA for c13e0c7 - Browse repository at this point
Copy the full SHA c13e0c7View commit details -
Have verify_precommit_signature return if it verified the signature
Also fixes a bug where invalid precommit signatures were left standing and therefore contributing to commits.
Configuration menu - View commit details
-
Copy full SHA for b7502a7 - Browse repository at this point
Copy the full SHA b7502a7View commit details -
Remove the precommit signature hash
It cached signatures per-block. Precommit signatures are bound to each round. This would lead to forming invalid commits when a commit should be formed. Under debug, the machine would catch that and panic. On release, it'd have everyone who wasn't a validator fail to continue syncing.
Configuration menu - View commit details
-
Copy full SHA for 0b8181b - Browse repository at this point
Copy the full SHA 0b8181bView commit details -
Also flattens the message handling function by replacing an if containing all following code in the function with an early return for the else case.
Configuration menu - View commit details
-
Copy full SHA for 48b4b68 - Browse repository at this point
Copy the full SHA 48b4b68View commit details
Commits on Nov 14, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 33e52ae - Browse repository at this point
Copy the full SHA 33e52aeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2408fd8 - Browse repository at this point
Copy the full SHA 2408fd8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 138866f - Browse repository at this point
Copy the full SHA 138866fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8c51bc0 - Browse repository at this point
Copy the full SHA 8c51bc0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0490157 - Browse repository at this point
Copy the full SHA 0490157View commit details -
Configuration menu - View commit details
-
Copy full SHA for 457d11a - Browse repository at this point
Copy the full SHA 457d11aView commit details -
Enables searching for the case-sensitive phrase and finding it.
Configuration menu - View commit details
-
Copy full SHA for 7248a41 - Browse repository at this point
Copy the full SHA 7248a41View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9dc8f5c - Browse repository at this point
Copy the full SHA 9dc8f5cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 707a177 - Browse repository at this point
Copy the full SHA 707a177View commit details
Commits on Nov 15, 2022
-
As we move towards protonet, this can happen (if a node goes offline), yet it happening brings down the entire net right now.
Configuration menu - View commit details
-
Copy full SHA for 7d42c45 - Browse repository at this point
Copy the full SHA 7d42c45View commit details -
Configuration menu - View commit details
-
Copy full SHA for 06c57a1 - Browse repository at this point
Copy the full SHA 06c57a1View commit details
Commits on Nov 16, 2022
-
Configuration menu - View commit details
-
Copy full SHA for d2e0b58 - Browse repository at this point
Copy the full SHA d2e0b58View commit details
Commits on Nov 17, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 8c65e1b - Browse repository at this point
Copy the full SHA 8c65e1bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 426baca - Browse repository at this point
Copy the full SHA 426bacaView commit details -
They were announced, yet not marked best.
Configuration menu - View commit details
-
Copy full SHA for 1aefa3f - Browse repository at this point
Copy the full SHA 1aefa3fView commit details -
It was used as inclusive yet didn't work inclusively.
Configuration menu - View commit details
-
Copy full SHA for 14fc181 - Browse repository at this point
Copy the full SHA 14fc181View commit details -
Configuration menu - View commit details
-
Copy full SHA for b077dc7 - Browse repository at this point
Copy the full SHA b077dc7View commit details -
Use a looser check in import_future
This triggered so it needs to be accordingly relaxed.
Configuration menu - View commit details
-
Copy full SHA for 82da7eb - Browse repository at this point
Copy the full SHA 82da7ebView commit details -
Correct race conditions between add_block and step
Also corrects a <= to <.
Configuration menu - View commit details
-
Copy full SHA for 26ad7c1 - Browse repository at this point
Copy the full SHA 26ad7c1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2bbba63 - Browse repository at this point
Copy the full SHA 2bbba63View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6e992a3 - Browse repository at this point
Copy the full SHA 6e992a3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 88aabde - Browse repository at this point
Copy the full SHA 88aabdeView commit details
Commits on Nov 18, 2022
-
Configuration menu - View commit details
-
Copy full SHA for c7e97d9 - Browse repository at this point
Copy the full SHA c7e97d9View commit details
Commits on Nov 20, 2022
-
Configuration menu - View commit details
-
Copy full SHA for cbe79eb - Browse repository at this point
Copy the full SHA cbe79ebView commit details -
Configuration menu - View commit details
-
Copy full SHA for 10aac4a - Browse repository at this point
Copy the full SHA 10aac4aView commit details
Commits on Nov 21, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 9b51eaf - Browse repository at this point
Copy the full SHA 9b51eafView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9dfa22d - Browse repository at this point
Copy the full SHA 9dfa22dView commit details -
Configuration menu - View commit details
-
Copy full SHA for bfe7546 - Browse repository at this point
Copy the full SHA bfe7546View commit details -
Configuration menu - View commit details
-
Copy full SHA for 991ba61 - Browse repository at this point
Copy the full SHA 991ba61View commit details -
Configuration menu - View commit details
-
Copy full SHA for cd9b9c8 - Browse repository at this point
Copy the full SHA cd9b9c8View commit details
Commits on Nov 22, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 92760c0 - Browse repository at this point
Copy the full SHA 92760c0View commit details
Commits on Nov 23, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 9065dcc - Browse repository at this point
Copy the full SHA 9065dccView commit details -
Prevent a commit from including the same signature multiple times
Yanks tendermint-machine 0.1.0 accordingly.
Configuration menu - View commit details
-
Copy full SHA for b042a2a - Browse repository at this point
Copy the full SHA b042a2aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 14ce9ef - Browse repository at this point
Copy the full SHA 14ce9efView commit details
Commits on Nov 24, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 69a9cae - Browse repository at this point
Copy the full SHA 69a9caeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3d20afd - Browse repository at this point
Copy the full SHA 3d20afdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1d45e03 - Browse repository at this point
Copy the full SHA 1d45e03View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3212942 - Browse repository at this point
Copy the full SHA 3212942View commit details -
Configuration menu - View commit details
-
Copy full SHA for 849c358 - Browse repository at this point
Copy the full SHA 849c358View commit details
Commits on Nov 26, 2022
-
Clean TendermintAuthority::authority as possible
Merges it into new. It has way too many arguments, yet there's no clear path at consolidation there, unfortunately. Additionally provides better scoping within itself.
Configuration menu - View commit details
-
Copy full SHA for d757924 - Browse repository at this point
Copy the full SHA d757924View commit details -
Doesn't use lock_import_and_run for reasons commented (lack of async).
Configuration menu - View commit details
-
Copy full SHA for 61b00b3 - Browse repository at this point
Copy the full SHA 61b00b3View commit details
Commits on Nov 27, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 8c2cbff - Browse repository at this point
Copy the full SHA 8c2cbffView commit details
Commits on Nov 29, 2022
-
Have the devnet use the current time as the genesis
Possible since it's only a single node, not requiring synchronization.
Configuration menu - View commit details
-
Copy full SHA for 3ea8bec - Browse repository at this point
Copy the full SHA 3ea8becView commit details
Commits on Dec 2, 2022
-
I really don't know what side effect this avoids and I can't say I care at this point.
Configuration menu - View commit details
-
Copy full SHA for 3dea9e5 - Browse repository at this point
Copy the full SHA 3dea9e5View commit details -
Configuration menu - View commit details
-
Copy full SHA for e220163 - Browse repository at this point
Copy the full SHA e220163View commit details -
Configuration menu - View commit details
-
Copy full SHA for dc4914f - Browse repository at this point
Copy the full SHA dc4914fView commit details -
Configuration menu - View commit details
-
Copy full SHA for d4e24fc - Browse repository at this point
Copy the full SHA d4e24fcView commit details