Wei Tang
dba73290e6
test_bin2num -> test_right
2018-04-09 20:37:18 +08:00
Wei Tang
5760756b3d
Keep the original naming of OP_LEFT and OP_RIGHT
2018-04-09 20:35:32 +08:00
Wei Tang
3da891b59a
map(|x| *x) -> cloned()
2018-04-09 20:29:04 +08:00
Wei Tang
7145a67eab
// -> ///
2018-04-09 20:28:14 +08:00
Wei Tang
eb548831ab
Use expect/match instead of unwrap
2018-04-09 20:27:53 +08:00
Wei Tang
6ad1ef5d9e
Fix/typo: mut is not needed
2018-04-09 20:09:43 +08:00
Wei Tang
849e4ca546
OP_BIN2NUM implementation and basic testing
...
Ref 451aab026d/may-2018-reenabled-opcodes.md
2018-04-03 13:20:57 +08:00
Wei Tang
64caac30c0
Rename OP_LEFT/OP_RIGHT to OP_NUM2BIN/OP_BIN2NUM
...
The later is used in a future hard fork for Bitcoin Cash. Because the former is disabled in Bitcoin, this change shouldn't do any harm.
2018-04-02 23:46:34 +08:00
Svyatoslav Nikolsky
d022e9cba1
Merge pull request #494 from paritytech/CI-patch
...
fix CI lint
2018-03-20 18:10:49 +03:00
Denis S. Soldatov aka General-Beck
2e1af204aa
fix CI lint
2018-03-20 17:08:46 +03:00
Svyatoslav Nikolsky
5483794b31
Merge pull request #491 from alekseysidorov/make-usable-for-spv
...
Make parity-bitcoin usable for spv validation
2018-03-12 20:08:35 +03:00
Aleksey Sidorov
048409641c
Derive display for error via `display_derive`.
2018-03-12 16:13:48 +03:00
Aleksei Sidorov
89f6e80596
Remove obsolete file
2018-03-12 15:42:49 +03:00
Aleksey Sidorov
f120076cab
Make parity-bitcoin usable for spv validation
...
- In this PR I extract from the crate `db` to the new `storage` crate all traits that is not specifically related to the concrete implementation of database. So I now can use `verification` crate without `rocksdb` dependency.
- Also I modify the `HeaderAcceptor` so that can be constructed without the private `BlockDeployments`.
2018-03-09 15:45:07 +03:00
Marek Kotewicz
be6d461bde
Merge pull request #490 from paritytech/div_mod_ops_impl
...
Bitcoin Cash: OP_DIV and OP_MOD implementation
2018-03-04 13:23:59 +01:00
debris
c83e14cd33
Merge branch 'master' into div_mod_ops_impl
2018-03-04 13:21:47 +01:00
Marek Kotewicz
628aa35586
Merge pull request #487 from paritytech/op_cat_impl
...
Bitcoin Cash: OP_CAT implementation
2018-03-04 13:20:39 +01:00
Marek Kotewicz
ba290cf6ab
Merge pull request #486 from paritytech/script_replace_try
...
Replace try! with ? in script
2018-03-04 13:18:23 +01:00
Svyatoslav Nikolsky
06a4ef8dbc
OP_DIV and OP_MOD implementations
2018-03-02 14:09:31 +03:00
Svyatoslav Nikolsky
aca8deeeba
bitwise ops (OP_AND, OP_OR, OP_XOR) implementation
2018-03-02 12:48:27 +03:00
Svyatoslav Nikolsky
05f885bfd9
OP_SPLIT implementation
2018-03-02 12:22:38 +03:00
Svyatoslav Nikolsky
7beffdfdc9
fixed typo
2018-03-02 12:07:45 +03:00
Svyatoslav Nikolsky
34239d4fbe
OP_CAT implementation
2018-03-02 11:36:32 +03:00
Svyatoslav Nikolsky
efbb4d4b57
replace try with ? in script
2018-03-02 10:56:37 +03:00
Marek Kotewicz
916feb1e65
Merge pull request #485 from paritytech/fix_asciiext
...
Removed AsciiExt import
2018-02-12 11:11:50 +01:00
Svyatoslav Nikolsky
78a70ff469
updated Dockerfile
2018-02-12 10:37:54 +03:00
Svyatoslav Nikolsky
8273026615
removed AsciiExt import (fixed warning)
2018-02-12 10:07:25 +03:00
Svyatoslav Nikolsky
4ebe24c438
Merge pull request #484 from korczis/update-log-0.4
...
Update log 0.3 -> 0.4, env_logger 0.4 -> 0.5
2018-02-12 09:45:04 +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
66a2d0e5e7
Merge pull request #481 from korczis/rand-0.4
...
Update rand rand 0.3 -> 0.4
2018-02-05 17:57:37 +03: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
Marek Kotewicz
9006e7acb3
Merge pull request #477 from paritytech/hardcode_bch_daa_height
...
Bitcoin Cash: hardcode DAA HF height
2018-01-09 12:40:40 +01:00
Svyatoslav Nikolsky
c46b21ed7a
BitcoinCash: hardcoded DAA HF height
2018-01-08 19:26:06 +03:00
Marek Kotewicz
b351ebfa5c
Merge pull request #475 from paritytech/remove_segwit2x
...
Remove segwit2x mentions
2017-12-29 05:06:14 -04:00
Robert Habermeier
90e3767fcf
Merge pull request #476 from paritytech/fix_future_warnings
...
Fixed BoxFuture-related warnings
2017-12-28 16:12:43 +01:00
Svyatoslav Nikolsky
f019ad62ac
fixed BoxFuture-related warnings
2017-12-27 15:33:05 +03:00
Svyatoslav Nikolsky
2ec29bb179
remove segwit2x
2017-12-27 09:52:57 +03:00
Svyatoslav Nikolsky
d6199987a4
Merge pull request #474 from paritytech/updated-deps
...
updated dependencies
2017-11-27 14:01:59 +03:00
debris
8bae8512fb
updated dependencies
2017-11-27 11:22:51 +01:00
Svyatoslav Nikolsky
e872cd1e63
Merge pull request #469 from paritytech/segwit_hardcode
...
Hardcode SegWit deployment
2017-11-27 11:19:20 +03:00
Svyatoslav Nikolsky
aa5a14369d
Merge pull request #467 from paritytech/bitcoincash_november
...
Suport Bitcoin Cash difficulty adjustment hardfork
2017-11-12 10:05:56 +03:00
Svyatoslav Nikolsky
d9e260c218
fixed warnings in tests
2017-11-06 18:33:24 +03:00
Svyatoslav Nikolsky
2aa6c2c9f5
disabled SegWit in regtests
2017-11-06 18:31:47 +03:00
Svyatoslav Nikolsky
47bb353a05
fixed new compiler version warnings
2017-11-06 18:06:12 +03:00
Svyatoslav Nikolsky
7ab015648c
fixed bip16 + SegWit conflict in Network::Unittest
2017-11-06 17:53:45 +03:00
Svyatoslav Nikolsky
c7be95b462
hardcode SegWit deployment
2017-11-06 13:41:56 +03:00
Svyatoslav Nikolsky
6757f546b8
fixed seednodes ports
2017-11-06 13:16:47 +03:00
Svyatoslav Nikolsky
9379677679
Merge branch 'master' into bitcoincash_november
2017-11-06 12:52:12 +03:00
Svyatoslav Nikolsky
0bf96f1649
Merge pull request #466 from paritytech/segwit2x_rollback_protection
...
Added Segwit2x rollback protection
2017-11-06 12:48:39 +03:00