Commit Graph

20 Commits

Author SHA1 Message Date
Paul Hauner
24a27891b8 Run rustfmt on entire codebase
Signed-off-by: Paul Hauner <paul@paulhauner.com>
2019-01-21 18:42:21 +11:00
Paul Hauner
5a45093156 Manually impl PartialEq for bls::PublicKey
To fix: https://rust-lang.github.io/rust-clippy/master/#derive_hash_xor_eq
2019-01-21 18:28:33 +11:00
Paul Hauner
c9aaf4f1ca
Add Eq traits for BLS newtypes 2019-01-16 20:34:24 +11:00
Paul Hauner
3876e29f6e
Fix clippy lints 2019-01-04 18:30:24 +11:00
Paul Hauner
4757b35ed2
Wrap BLS keypair, pubkey and privkey in newtypes 2018-12-29 14:33:35 +11:00
Paul Hauner
e4e729d309
Add newtype for bls::PublicKey 2018-12-28 19:45:59 +11:00
Paul Hauner
926bdcde34
Merge branch 'master' into issue/96/beacon-block-update 2018-12-26 09:03:04 +11:00
Paul Hauner
c64d2bfce9
Merge pull request #125 from sigp/newtype-bls
Wrap Signature and AggregateSignature in a newtype
2018-12-26 08:56:10 +11:00
Paul Hauner
4330acdd96
Tidy up var name in BLS 2018-12-26 08:54:26 +11:00
Paul Hauner
810156a0fb
Remove Default impls for BLS newtypes 2018-12-26 08:46:37 +11:00
Paul Hauner
91dea4bf29
Merge Rust 2018 updates 2018-12-24 10:03:56 +11:00
Stan Drozd
dcf9f2244a
Add 'edition = "2018"' to every Cargo.toml 2018-12-19 16:38:59 +01:00
Paul Hauner
7f00f167e3
Fix error in agg sig newtype 2018-12-18 17:55:21 +11:00
Paul Hauner
f046a326b8
Implement "newtype" wrappers for BLS structs 2018-12-18 17:04:54 +11:00
Alex Stokes
bd3d388b92
Use resize instead of extend which fits this use much better 2018-12-17 17:16:25 -08:00
Alex Stokes
e339d4bd71
update hash usage to get tests passing 2018-12-12 21:56:28 -08:00
Alex Stokes
97bd323a52
Updates the hash function used to Keccak-256 2018-12-12 21:54:04 -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
8a2baa7b26
Move proof_of_possession into bls crate 2018-10-22 05:58:12 +11:00
Paul Hauner
0fbe4179b3
Heavily restructure repo
Separate most modules into crates
2018-10-02 16:41:10 +10:00