Commit Graph

9 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
NikVolf 93b37f3192 update and dedup deps 2019-03-25 12:39:24 +03:00
Tomas Korcak b84f4dcc29
Update log 0.3 -> 0.4, env_logger 0.4 -> 0.5 2018-02-09 16:50:28 +01:00
Svyatoslav Nikolsky c46b21ed7a BitcoinCash: hardcoded DAA HF height 2018-01-08 19:26:06 +03:00
Svyatoslav Nikolsky 8c7ce991eb honour RUST_LOG when running without '-q' option 2017-09-01 14:04:33 +03:00
Afri b2faa05ee7 Improved logging to console (#440)
* Remove redundant timestamp.

* Measure block processing in the logs

* Use tabs to separate status.

* Show updates every 1000 blocks.

* Reword some warnings.

* Add some color to log level.

* Reduce code redundancy

* No need to specify the type for blocks_speed

* Utilize the return value of match.

* Count all peers.

* Add whitespaces

* Remove another redundant timestamp

* One item per line

* Use tabs not spaces

* Remove unused import

* Remove redundant time imports

* Paint it black.
2017-08-17 22:45:36 +02:00
debris 890bbb05d0 updated dependencies 2017-04-14 12:49:39 +02:00
debris d7daed26cf basic print-to-console 2016-12-01 10:40:56 +01:00