Commit Graph

18 Commits

Author SHA1 Message Date
Henry de Valence 22c3bdeb61 Prefix workspace crates with zebra- (#70)
* Update license and author metadata in workspace crates.

- ensure that the license field is set to GPL-3 for all GPL-3 licensed crates;
- ensure that the author field is set to "Zcash Foundation", responsible for maintenance;
- preserve the original authorship info in AUTHORS.md for human-readable history.

Updating the author field ensures that all of the machine systems that read
crate metadata list the ZF organization, not any single individual, as the
maintainer of the crate.

* Prefix all internal crate names with zebra-.

This does not move the directories containing these crates to also have zebra-
prefixes (for instance, zebra-chain instead of chain).  I think that this would
be preferable, but because it's a `git mv`, it will be simple to do later and
leaving it out of this change makes it easier to see the renaming of all of the
internal modules.

* Remove git dependency from eth-secp256k1

* Avoid an error seemingly related to Deref coercions.

This code caused an overflow while evaluating type constraints.  As best as I
can determine, the cause of the problem was something like so: the Rust
implementation of the Bitcoin-specific hash function used in the Bloom filter
doesn't operate on byte slices, but only on a `&mut R where R: Read`, so to
hash a byte slice, you need to create a mutable copy of the input slice which
can be consumed as a `Read` implementation by the hash function; the previous
version of this code created a slice copy using a `Deref` coercion instead of
`.clone()`, and when a tokio update added new trait impls, the type inference
for the `Deref` coercion exploded (somehow -- I'm not sure about the last
part?).

This commit avoids the problem by manually cloning the input slice.
2019-07-02 15:07:06 -04:00
Henry de Valence 891226069a Run cargo fmt 2019-06-28 15:26:18 -07:00
dependabot-preview[bot] f05722fe80 Bump lazy_static from 1.2.0 to 1.3.0 (#17)
Bumps [lazy_static](https://github.com/rust-lang-nursery/lazy-static.rs) from 1.2.0 to 1.3.0.
- [Release notes](https://github.com/rust-lang-nursery/lazy-static.rs/releases)
- [Commits](https://github.com/rust-lang-nursery/lazy-static.rs/compare/1.2.0...1.3.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-06-18 00:26:50 -04:00
Svyatoslav Nikolsky 9de3272781 new transparent address format 2018-12-25 10:38:07 +03:00
Jean Pierre Dudey 334e2c154c Remove `rustc-serialize` and use the `rustc-hex` crate.
Signed-off-by: Jean Pierre Dudey <jeandudey@hotmail.com>
2018-08-10 09:06:52 -04:00
Wei Tang 14a1368520 Update lazy_static dependencies to 1.0 2018-05-11 18:09:01 +08:00
Tomas Korcak 03a99de2f3
Update rand 0.3 -> 0.4 2018-02-05 15:25:36 +01:00
Tomas Korcak 54c3dc3908
Unlock rand crate version 0.3.14 -> 0.3 2018-02-05 15:18:12 +01:00
debris e51b34ef4d keys::Address remote serialization 2017-05-06 17:55:17 +02:00
debris 721a31577b cleanup docs 2016-12-15 16:03:59 +01:00
Svyatoslav Nikolsky 9e1932e7f9 finished gettxout implementation 2016-12-12 21:49:01 +03:00
debris f7a73f6520 fixed clippy lints for db, keys, miner, and script 2016-11-08 21:01:36 +01:00
debris c61fbf8ea5 verifing block 124276 2016-10-27 16:54:06 +02:00
debris f5b2b47c92 fixed verify high_s signatures 2016-10-27 12:21:37 +02:00
debris 63ca383949 use H32 instead of [u8; 4] 2016-10-06 00:38:20 +02:00
debris 9b7a3b789e handshake checks network magic number 2016-09-28 23:58:23 +02:00
debris 40b8af572f checksum moved to crypto lib, added message struct to net lib 2016-09-19 19:19:04 +02:00
debris 0edcc08ab1 keys lib 2016-09-19 15:39:57 +02:00