Commit Graph

22 Commits

Author SHA1 Message Date
Grant Wuerker
1b3de3a507 Merge branch 'master' into validator-record-update 2018-12-23 12:21:49 -06:00
Grant Wuerker
50767c7bfd testing around balance increase and zero balance replacement 2018-12-21 22:45:35 -06:00
Grant Wuerker
537c5e2846 more testing around deposit processing 2018-12-21 18:41:13 -06:00
Grant Wuerker
faaba18799 types updated against spec and process_deposit routine partially implemented 2018-12-20 20:22:08 -06:00
Stan Drozd
dcf9f2244a
Add 'edition = "2018"' to every Cargo.toml 2018-12-19 16:38:59 +01:00
Stan Drozd
e502872083
cargo-fix the whole workspace into Rust 2018 2018-12-19 16:07:01 +01:00
Paul Hauner
459be0b4b6
Merge pull request #109 from ralexstokes/update-hash-function
Updates the hash function used to Keccak-256

Closes #111
2018-12-19 17:11:47 +11:00
Grant Wuerker
e93eb55dcd removed inductor.old.rs 2018-12-16 20:35:15 -06:00
Grant Wuerker
8adf5f7990 exit count changed to 0 2018-12-16 20:32:19 -06:00
Grant Wuerker
eef3627c92 one test passing 2018-12-16 17:00:53 -06:00
Grant Wuerker
a05364cb49 first pass at updating inductor with deposit structs - lots of compilation errors 2018-12-15 23:19:15 -06:00
Alex Stokes
e339d4bd71
update hash usage to get tests passing 2018-12-12 21:56:28 -08:00
Alex Stokes
c700d014db
update function we removed so test compiles 2018-12-12 21:54:05 -08:00
Alex Stokes
fa3d9bdb07
begin the transition to using ValidatorStatus as a distinct type 2018-12-11 15:17:55 -08:00
Paul Hauner
900ffac5e0
Run rustfmt globally.
Using `$ cargo fmt` in the root. Closes #68.
2018-11-04 15:35:55 +01:00
Paul Hauner
896810fb9f
Add status to validator induction.
Allows for inducting validators with a specific status.
2018-10-24 10:13:47 +02:00
Paul Hauner
8a2baa7b26
Move proof_of_possession into bls crate 2018-10-22 05:58:12 +11:00
Paul Hauner
12b5d7434c
Move ValidatorRegistration into types 2018-10-22 05:22:16 +11:00
Paul Hauner
f495ed845b
Change ValidatorInductor to own instead of borrow 2018-10-20 21:28:57 +11:00
Paul Hauner
a8179897a9
Add to_ref method for inductor 2018-10-20 21:01:35 +11:00
Paul Hauner
99ce9a2dd2
Add new method for ValidatorInductor 2018-10-20 19:18:16 +11:00
Paul Hauner
b4566a776a
Add validator induction functionality 2018-10-20 03:11:45 +11:00