Commit Graph

4427 Commits

Author SHA1 Message Date
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
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
Christopher Jeffrey
c69e7195b9
pkg: upgrade n64. 2017-08-17 23:35:52 -07:00
Christopher Jeffrey
8f9f5dfc06
pool: fix map.clear call in stopSync. fixes #274. 2017-08-17 19:51:54 -07:00
Christopher Jeffrey (JJ)
b7789c763c Merge pull request #269 from nodar-chkuaselidze/docs/examples
Docs/examples
2017-08-17 17:24:16 -07:00
Christopher Jeffrey (JJ)
d44d93486f Merge pull request #279 from Bucko13/check-for-id-param
check in http client that an id is passed to create wallet
2017-08-17 17:23:47 -07:00
Christopher Jeffrey (JJ)
fd5dcec680 Merge pull request #278 from Bucko13/wallet-options
add documentation for mnemonic option in wallet creation
2017-08-17 17:23:21 -07:00
Christopher Jeffrey (JJ)
2c8fcafa0a Merge pull request #265 from nodar-chkuaselidze/fix/rpc-requests
REST API fixes
2017-08-17 17:23:04 -07:00
Christopher Jeffrey (JJ)
87a31093f6 Merge pull request #276 from nodar-chkuaselidze/fix/invalidate
Chain: Fix _invalidate
2017-08-17 17:21:33 -07:00
Christopher Jeffrey
5415147d4e
encoding: encoding improvements for base128 varints. 2017-08-17 10:55:30 -07:00
Christopher Jeffrey
51cdd6156b
encoding: lint. 2017-08-17 10:04:51 -07:00
Christopher Jeffrey
846aae9f98
eslintrc: indent is making eslint crash. 2017-08-17 10:03:36 -07:00
Christopher Jeffrey
a47d68024a
scriptnum: improve encoding. 2017-08-17 09:59:17 -07:00
Christopher Jeffrey
668202b2f9
encoding: start using int64 objects instead of BNs. 2017-08-17 09:56:57 -07:00
Christopher Jeffrey
411db44a76
workers: fix ErrorResultPacket. 2017-08-17 09:56:22 -07:00
Christopher Jeffrey
a91bd5c958
script: improve new scriptnum. 2017-08-16 20:36:09 -07:00
Christopher Jeffrey
ad3bc3c8d6
pkg: upgrade n64. 2017-08-16 20:17:22 -07:00
Bucko
64b7e4d0df check in http client that an id is passed to create wallet 2017-08-16 17:58:37 -07:00
Bucko
c3d8c6c377 add param for mnemonic in documentation for wallet creation options 2017-08-16 16:47:19 -07:00
Christopher Jeffrey
772025a4a1
script: a better scriptnum implementation. 2017-08-16 15:33:44 -07:00
Christopher Jeffrey
1f5fd553de
pkg: update deps. 2017-08-16 15:32:56 -07:00
Christopher Jeffrey
d277d55560
bn: use toArrayLike instead of toBuffer. 2017-08-16 15:32:24 -07:00
Node
15b22c03fa
chain: fix _invalidate 2017-08-16 21:06:08 +04:00
Christopher Jeffrey
f9eca70374
pkg: upgrade n64. 2017-08-15 18:47:34 -07:00
Christopher Jeffrey
2ce2f1f9f7
rpc: refactor getTXOutProof and mining calls. 2017-08-14 17:52:31 -07:00
Christopher Jeffrey
09a2dc0f55
cpuminer: avoid division by zero. 2017-08-14 17:51:40 -07:00
Christopher Jeffrey
453bc82a8d
test: remove forEach loop in tx-test. 2017-08-14 17:51:16 -07:00
Node
0bf76001cf
docs/examples: Get InputValue and OutputValue on tx 2017-08-14 17:16:45 +04:00
Christopher Jeffrey
0bdfe51097
pkg: update deps. 2017-08-14 00:43:21 -07:00
Christopher Jeffrey
e8c375b372
test: remove useless .fill() calls. 2017-08-13 14:25:02 -07:00
Christopher Jeffrey
b013b2f0f9
util: add toFloat function. 2017-08-13 13:15:56 -07:00
Christopher Jeffrey
46af7f5760
test: move consensus tests out of utils tests. 2017-08-13 13:01:43 -07:00
Christopher Jeffrey
b021f7cdd4
util: minor. 2017-08-13 12:21:56 -07:00
Christopher Jeffrey
ebb79e5ff1
secp256k1: es6ify length normalization. 2017-08-13 12:21:44 -07:00
Christopher Jeffrey
e1e71a6e81
test: minor. 2017-08-13 08:05:37 -07:00
Christopher Jeffrey
b3f02eb70a
test: run sigops tests without cache. 2017-08-13 08:03:34 -07:00
Christopher Jeffrey
d33443186c
minor: lint. 2017-08-13 07:52:17 -07:00
Christopher Jeffrey
2e8d8f59c6
test: change file naming convention. 2017-08-12 20:29:27 -07:00
Christopher Jeffrey
0e7d5d7ab9
test: more sigops counting test vectors. 2017-08-12 20:02:44 -07:00
Christopher Jeffrey
e37d299049
test: create better interface for block/tx test vectors. 2017-08-12 19:38:58 -07:00
Christopher Jeffrey
5a751d9ba7
test: add some new functions to test/util/common. 2017-08-12 18:12:45 -07:00