Commit Graph

36 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
Svyatoslav Nikolsky 095e8ec21a removed bitcoin-cash specific opcodes 2019-03-12 13:35:10 +03:00
Svyatoslav Nikolsky 9de3272781 new transparent address format 2018-12-25 10:38:07 +03:00
NikVolf b16c60be48 remove flawed iterator 2018-11-21 15:10:01 +03:00
NikVolf da02015342 remove find&delete, split opcode 2018-11-20 19:22:51 +03:00
Svyatoslav Nikolsky c19bf38801 cleaning up 2018-11-14 11:46:02 +03:00
Svyatoslav Nikolsky aa692d8a90 cleaning up 2018-11-14 11:37:28 +03:00
Svyatoslav Nikolsky ad4f51ac07 BCH Nov2018 HF: OP_CHECKDATASIG + OP_CHECKDATASIGVERIFY 2018-10-16 15:45:27 +03:00
Svyatoslav Nikolsky 150300d06d fix witness commitment size check 2018-05-09 18:34:06 +03:00
Svyatoslav Nikolsky efbb4d4b57 replace try with ? in script 2018-03-02 10:56:37 +03:00
Svyatoslav Nikolsky c468425daf segwit: script tests 2017-08-22 14:40:04 +03:00
Svyatoslav Nikolsky 0a813b2d51 removed excess clone 2017-08-22 14:40:04 +03:00
Svyatoslav Nikolsky 1e28ec4ed5 segwit: sigops cost stub 2017-08-22 14:40:04 +03:00
Svyatoslav Nikolsky b0c1605ee4 swgwit: verify_witness_program 2017-08-22 14:39:10 +03:00
Svyatoslav Nikolsky abbffb49bb segwit: commitment check + weight check 2017-08-22 14:39:10 +03:00
Svyatoslav Nikolsky d4a191aec1 segwit: initial flush 2017-08-22 14:39:10 +03:00
debris a87ddbc2fc erge branch 'master' of github.com:ethcore/parity-bitcoin into docs 2016-12-15 16:07:51 +01:00
debris 721a31577b cleanup docs 2016-12-15 16:03:59 +01:00
debris f1f68f497b P2shCoinbaseTransactionBuilder && Magic::Unitest && removed skip_pow from chain_verification 2016-12-15 14:27:36 +01:00
Svyatoslav Nikolsky 424d582f85 createrawtransaction RPC completed 2016-12-14 18:00:22 +03:00
Svyatoslav Nikolsky 9e1932e7f9 finished gettxout implementation 2016-12-12 21:49:01 +03:00
Svyatoslav Nikolsky bc731d6755 added Script::num_signatures_required method 2016-12-12 18:02:31 +03:00
Svyatoslav Nikolsky c82cd6a946 Script::extract_destinations 2016-12-12 17:12:26 +03:00
debris 56315efd9e fix find and delete for block 268561 2016-11-28 15:54:56 +01:00
debris e839b8b499 sigops_count fixes 2016-11-27 22:38:30 +01:00
debris 42ce57e6a8 fixed bip30 tests, tx finality reg tests passing 2016-11-27 15:05:49 +01:00
Marek Kotewicz 85a24eccd1 Merge pull request #168 from ethcore/script_P2WPKH
Added P2WPKH script discovery
2016-11-22 13:44:49 +01:00
Svyatoslav Nikolsky 2372234d9c added P2WPKH script discovery 2016-11-22 15:09:31 +03:00
NikVolf fff3c29e6d this is always wrong way first 2016-11-22 03:18:15 +03:00
NikVolf b2798841de refactored sigop counter 2016-11-22 02:50:27 +03:00
NikVolf f44bec4a57 don't use accurate sigop counter for regular scripts 2016-11-16 00:37:27 +03:00
NikVolf 4aec0ef31f fix with multi-sigs 2016-11-14 17:31:36 +03:00
NikVolf 1abfabcf4b iterators and sigops count 2016-11-14 16:21:52 +03:00
debris f7a73f6520 fixed clippy lints for db, keys, miner, and script 2016-11-08 21:01:36 +01:00
debris fdc4bfe2d7 script lib 2016-09-19 16:09:05 +02:00