Commit Graph

34 Commits

Author SHA1 Message Date
Kirk Baird
fe107616ce
Finailized updating structs / types to match specs as at 16.1.19 2019-01-16 13:32:03 +11:00
Kirk Baird
8dec3c1dc7
Added/modified types and constants according to specs 2019-01-16 10:39:02 +11:00
Alex Stokes
a2b23d6ae2
run cargo fmt 2019-01-10 14:57:34 -06:00
Grant Wuerker
cdb8e602e8 bad whitespace removed 2019-01-07 22:16:15 -06:00
Grant Wuerker
0a1c299206 custody names refactored 2019-01-07 21:57:35 -06:00
Grant Wuerker
d2a62fa211 removed ValidatorRecord::zero_with_rand_keypair() 2019-01-07 21:49:57 -06:00
Grant Wuerker
a3ef9231a6 inductor tests use deposit::random_for_test 2019-01-07 21:37:30 -06:00
Grant Wuerker
246584f1a5 TODO added for deposit signature validation 2019-01-04 20:46:25 -06:00
Grant Wuerker
c180c6c94f BaconState cleanup, warnings fixed, and invalid proof of possession induction test added 2018-12-29 17:53:48 -06:00
Grant Wuerker
598562da73 BaconState serialization fixed and reorganiztion around induction and deposits 2018-12-29 16:22:14 -06:00
Grant Wuerker
65917a696a beacon_state, deposit_input, and validator_record updated again
beacon_state, deposit_input, and validator_record updated again
2018-12-26 20:06:50 -06:00
Grant Wuerker
77838734b5 tests passing again 2018-12-25 12:19:20 -06:00
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