Christopher Jeffrey
bc25bdb016
workers: drop all static methods for packets.
2017-09-02 21:09:22 -07:00
Christopher Jeffrey
d871751bba
test: use utils for gcs test.
2017-09-01 20:56:42 -07:00
Christopher Jeffrey
ad4c7e81c8
tx: minor.
2017-09-01 18:05:50 -07:00
Christopher Jeffrey
55f594d616
stack: remove useless checks.
2017-09-01 18:05:26 -07:00
Bucko
4329907e86
fixed signature as well as call
2017-08-30 16:38:43 -07:00
Bucko
df52cbe6f9
remove outputs from function signature
2017-08-30 16:36:30 -07:00
Bucko
778e118378
implement tux's fix for changing property name and more consistent behavior around setting passphrase on unencrypted wallet
2017-08-30 14:32:24 -07:00
Christopher Jeffrey
57b98b2368
tx: refactor hasStandardWitness.
2017-08-30 10:14:51 -07:00
Christopher Jeffrey
063f55f448
script: remove instances of script.getSmall().
2017-08-30 10:07:07 -07:00
Christopher Jeffrey
7022c6649f
tx: minor.
2017-08-28 06:08:50 -07:00
Christopher Jeffrey
b87f557823
tx/script/chain: refactor locktime handling.
2017-08-27 19:07:57 -07:00
Christopher Jeffrey
73b84cc1a7
lint: remove useless parens.
2017-08-27 16:50:23 -07:00
Javed Khan
9b777ac7e5
client: use 'new' passphrase param
2017-08-27 15:14:43 +05:30
Christopher Jeffrey
9d48c1385b
mtx: rename subtractFee to subtractIndex.
2017-08-26 12:37:08 -07:00
Christopher Jeffrey
3c2c8ea955
hd: pass purpose number to bip44 derivation. drop bip45 support.
2017-08-26 02:41:27 -07:00
Christopher Jeffrey
26f6fb5277
wallet: enforce settxfee for all functions.
2017-08-26 01:35:36 -07:00
Christopher Jeffrey
6742482445
mtx: subtract fee evenly from all outputs.
2017-08-26 01:21:25 -07:00
Christopher Jeffrey
c6b76ec73f
Revert "wallet/mtx: add extraOutputs option."
...
This reverts commit 3957f83a59 .
2017-08-26 00:13:24 -07:00
Christopher Jeffrey
140eece7dd
script: improve perf of getScripthash.
2017-08-25 20:54:56 -07:00
Christopher Jeffrey
49154be76d
script: refactor opcode and optimize.
2017-08-25 18:54:51 -07:00
Christopher Jeffrey
eabcf21f49
fuzz: lint.
2017-08-25 18:10:29 -07:00
Christopher Jeffrey
87b8ba4ec4
test: minor.
2017-08-25 16:22:52 -07:00
Christopher Jeffrey
3957f83a59
wallet/mtx: add extraOutputs option.
2017-08-25 15:10:30 -07:00
Christopher Jeffrey
b0a75baa5a
test: minor.
2017-08-25 15:06:12 -07:00
Christopher Jeffrey
5fae0c50a1
script: enforce stack size on unexecuted branches.
...
This primarily only affects zero-length scripts. An input script which pushed
this many items onto the stack without failing _is not possible_, but with
segwit, it is possible. However, a witness program would fail due to cleanstack
before there would be any kind of consensus fault. In other words, without this
fix, we still remain in consensus with bitcoin core, but ideally we should want
to fail for the same reason.
2017-08-25 08:08:47 -07:00
Javed Khan
5bfbab2bb7
p2sh test case: Use fromScript
2017-08-25 20:14:19 +05:30
Javed Khan
6a038930f5
tests: Add address tests
2017-08-25 20:14:19 +05:30
Node
1c25d8913e
rpc: fix revHex arg in verifytxoutproof
2017-08-25 15:24:54 +04:00
Christopher Jeffrey
7145d21c9c
script: improve isCode.
2017-08-24 23:47:22 -07:00
Christopher Jeffrey
47eb484657
script: include opcode and instruction pointer in stack size errors.
2017-08-24 23:13:31 -07:00
Christopher Jeffrey
13892b3b38
encoding: rename written to offset.
2017-08-24 22:36:59 -07:00
Christopher Jeffrey
22a879f154
opcode: fix uncatchable error on .equals().
2017-08-24 22:24:39 -07:00
Christopher Jeffrey
f1ac30a6c1
fuzz: update fuzzer to use bitcoinconsensus.
2017-08-24 22:23:53 -07:00
Christopher Jeffrey
af132c8818
opcode: handle OP_1NEGATE in opcode.toNum.
2017-08-24 18:22:45 -07:00
Christopher Jeffrey
d6ce66bce9
script: refactor script and stack mutation.
...
This allows more reasonable signing behavior and eliminates all polymorphism.
2017-08-24 17:34:20 -07:00
Bucko
ed4e7b1243
pass options on keyring creation
2017-08-24 17:19:05 -07:00
Node
82595b95eb
rpc: getbalance default minconf=1
2017-08-24 20:57:27 +04:00
Christopher Jeffrey
9d74c837e8
bench: sigops benchmarks.
2017-08-21 20:59:21 -07:00
Christopher Jeffrey
5468465e88
bench: tx benchmark.
2017-08-21 15:04:35 -07:00
Christopher Jeffrey
a6b2c23a41
script: start using scriptnum implementation.
2017-08-20 15:13:17 -07:00
Christopher Jeffrey
1b0ae3ca79
refactor: use defineProperty instead of __define[GS]etter__.
2017-08-20 15:10:58 -07:00
Christopher Jeffrey
c54ba4c5ab
http/client: lint.
2017-08-20 14:35:42 -07:00
Christopher Jeffrey
6c8c18f2a0
opcode: improve perf of opcode.from methods.
2017-08-20 12:52:35 -07:00
Christopher Jeffrey
2647d011dc
opcode: experiment with using cached opcodes.
2017-08-19 23:14:30 -07:00
Christopher Jeffrey
5047028511
script: stop using new Opcode.
2017-08-19 23:14:18 -07:00
Christopher Jeffrey
040e798d9f
rpc: fix getTXOutProof.
2017-08-19 19:36:28 -07:00
Bucko
4085e3d9b9
pass the passphrase to retoken
2017-08-18 19:18:23 -07:00
Node
29f9d401e4
rpc: signrawtransaction input name fix
2017-08-18 14:35:12 +04:00
Node
4fb2df7789
rpc: createrawtransaction from inputs
2017-08-18 11:01:43 +04:00
Christopher Jeffrey
c69e7195b9
pkg: upgrade n64.
2017-08-17 23:35:52 -07:00