Commit Graph

27 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 4b7cd140b7 fix couple of warnings 2019-05-21 16:04:25 +03:00
Svyatoslav Nikolsky eb43e22cd3 explicint Indexed*::from_raw calls 2019-03-20 12:29:04 +03:00
Dimitris Apostolou cbf4c99d8b
Fix typos 2019-02-03 00:35:00 +02:00
Svyatoslav Nikolsky e7e2ce7c7c use jsonrpc from pzec_dependency_multiple_trailing_args branch 2019-01-11 12:52:20 +03:00
Svyatoslav Nikolsky 8881a7e529 update createrawtransaction (not compiling) 2019-01-11 12:26:55 +03:00
Svyatoslav Nikolsky 9de3272781 new transparent address format 2018-12-25 10:38:07 +03:00
Svyatoslav Nikolsky afb52268bb overwinter + sapling transactions (start) 2018-11-19 09:59:17 +03:00
Svyatoslav Nikolsky 3a1e6c9aa6 cleaning up 2018-11-13 14:20:25 +03:00
Svyatoslav Nikolsky 7e47bd3b28 flush 2018-05-18 12:04:36 +03:00
Svyatoslav Nikolsky a32a223395 initial commit for Zcash support 2018-05-16 12:13:04 +03:00
Svyatoslav Nikolsky d4a191aec1 segwit: initial flush 2017-08-22 14:39:10 +03:00
Svyatoslav Nikolsky 07f260b600 update dependencies 2017-08-02 11:38:08 +03:00
debris e51b34ef4d keys::Address remote serialization 2017-05-06 17:55:17 +02:00
debris 2beb3aa7d2 updated jsonrpc libraries to latest version, support for jsonrpc v1 2016-12-20 11:42:51 +01:00
Svyatoslav Nikolsky d1a28b0676 fixed compilation 2016-12-14 18:20:08 +03:00
Svyatoslav Nikolsky 424d582f85 createrawtransaction RPC completed 2016-12-14 18:00:22 +03:00
Svyatoslav Nikolsky da5fb2d0d2 flush 2016-12-13 18:16:48 +03:00
Svyatoslav Nikolsky 6bccd1cb38 used TransactionOutputs in traits 2016-12-13 16:58:03 +03:00
Svyatoslav Nikolsky 59aad9ec30 continue work on 'raw' RPC methods 2016-12-13 13:27:45 +03:00
Svyatoslav Nikolsky 082d81eec6 fixed compilation 2016-12-08 22:43:27 +03:00
Svyatoslav Nikolsky f71fdfc556 fixed tests 2016-12-08 18:39:44 +03:00
Svyatoslav Nikolsky 2f0b42a5b5 Merge branch 'master' into sync_sendrawtransaction 2016-12-08 18:33:37 +03:00
Svyatoslav Nikolsky 23da291f95 accept_transaction 2016-12-08 14:48:00 +03:00
Svyatoslav Nikolsky 99aa1c2330 another porion of parity RPC copypaste 2016-12-07 16:14:52 +03:00
Svyatoslav Nikolsky 53bf8a26ac copypasted RPC framework from Parity 2016-12-07 13:30:31 +03:00