Svyatoslav Nikolsky
|
150300d06d
|
fix witness commitment size check
|
2018-05-09 18:34:06 +03:00 |
Svyatoslav Nikolsky
|
1ebe3375f4
|
added tests for reverse ops
|
2018-04-12 10:47:35 +03:00 |
Svyatoslav Nikolsky
|
72832bc675
|
OP_NUM2BIN implementation
|
2018-04-11 17:38:59 +03:00 |
Svyatoslav Nikolsky
|
b52a05e124
|
renamed back to bin2num where appropriate
|
2018-04-11 11:18:29 +03:00 |
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
|
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 |
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
|
c10214c5ed
|
fixed OP_NOP
|
2017-08-23 17:26:38 +03:00 |
Svyatoslav Nikolsky
|
7f14f9b40d
|
uahf: input_index check is back in SignatureHash
|
2017-08-23 13:48:49 +03:00 |
Svyatoslav Nikolsky
|
1a7b0e13ea
|
removed comments
|
2017-08-22 14:47:19 +03:00 |
Svyatoslav Nikolsky
|
98db437162
|
segwit: tx_valid tests
|
2017-08-22 14:40:04 +03:00 |
Svyatoslav Nikolsky
|
a97bdaf0bc
|
segwit: witness tests from tx_invalid.json
|
2017-08-22 14:40:04 +03:00 |
Svyatoslav Nikolsky
|
6c06081577
|
segwit: multisig segwit tests
|
2017-08-22 14:40:04 +03:00 |
Svyatoslav Nikolsky
|
c468425daf
|
segwit: script tests
|
2017-08-22 14:40:04 +03:00 |
Svyatoslav Nikolsky
|
4cd0207c25
|
basic_witness_script_checks
|
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
|
bda2277b71
|
segwit: added sync TODOs
|
2017-08-22 14:40:04 +03:00 |
Svyatoslav Nikolsky
|
1b92a9d8d4
|
segwit: p2sh witness
|
2017-08-22 14:39:10 +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 |
Svyatoslav Nikolsky
|
65569b2b10
|
uahf: fixed find_and_delete condition in OP_CHECKMULTISIG
|
2017-08-17 15:07:45 +03:00 |
Svyatoslav Nikolsky
|
e83c40a450
|
fixed test
|
2017-08-15 12:05:44 +03:00 |
Svyatoslav Nikolsky
|
78bd3e5485
|
FORKID sighash fixes
|
2017-08-15 11:26:09 +03:00 |
Svyatoslav Nikolsky
|
8008885a80
|
fixed is_valid_signature_encoding
|
2017-08-14 11:54:46 +03:00 |
Svyatoslav Nikolsky
|
a338b4d5df
|
fix build && fix fork_id strict check
|
2017-08-09 17:34:23 +03:00 |
Svyatoslav Nikolsky
|
b6dfcd8d24
|
uahf: forkid sighash tests
|
2017-08-09 13:35:12 +03:00 |
Svyatoslav Nikolsky
|
95a311faa6
|
removed unused code
|
2017-08-09 10:40:02 +03:00 |
Svyatoslav Nikolsky
|
a769868139
|
uahf: SCRIPT_VERIFY_STRICTENC for post-HF transactions
|
2017-08-08 17:54:39 +03:00 |
Svyatoslav Nikolsky
|
5326a90243
|
uahf: forkid replay protection
|
2017-08-08 17:49:26 +03:00 |
Svyatoslav Nikolsky
|
d6b9445344
|
uahf: OP_RETURN replay protection
|
2017-08-08 14:41:00 +03:00 |
Svyatoslav Nikolsky
|
045603c84a
|
fixed warnings
|
2017-08-02 11:50:08 +03:00 |
Christian Nyumbayire
|
e6958468c3
|
Fix op_return push
|
2017-05-07 02:45:37 +02:00 |
Christian Nyumbayire
|
a77abd4545
|
Add a nulldata builder
|
2017-05-06 11:40:35 +02:00 |
debris
|
9a389f9746
|
bip9, bip112, bip113
|
2017-05-03 14:34:02 +02:00 |
debris
|
9a96168869
|
tests and fix for block coinbase script validation
|
2017-04-11 13:23:53 +08:00 |
debris
|
eef94cc65f
|
fixed bip66
|
2017-04-08 20:59:10 +07:00 |