Christopher Jeffrey (JJ)
c44293acd8
Merge pull request #282 from nodar-chkuaselidze/fix/createrawtransaction
...
RPC: Create/Sign Raw Transaction fix
2017-10-18 22:31:23 -07:00
Christopher Jeffrey (JJ)
bdeb72a035
Merge pull request #281 from Bucko13/import-key-passphrase
...
pass passphrase for key import
2017-10-18 22:30:10 -07:00
Christopher Jeffrey (JJ)
9098d4dcd6
Merge pull request #298 from nodar-chkuaselidze/fix/rpc-verifytxoutproof
...
rpc: fix verifytxoutproof
2017-10-18 22:25:50 -07:00
Christopher Jeffrey (JJ)
61906d7564
Merge pull request #300 from tuxcanfly/passphrase-fix
...
client: use 'new' passphrase param
2017-10-18 22:24:03 -07:00
Christopher Jeffrey (JJ)
8883da8a7d
Merge pull request #308 from Bucko13/createTX-signature
...
remove outputs from function signature
2017-10-18 13:20:53 -07:00
Christopher Jeffrey (JJ)
e137288b78
Merge pull request #325 from sangaman/master
...
Adding confirmations property to block and tx getJSON
2017-10-18 13:17:17 -07:00
Christopher Jeffrey (JJ)
8c091f6e08
Merge pull request #329 from nodar-chkuaselidze/fix/http-client
...
Fix bcoin.http.Client errors
2017-10-18 13:11:49 -07:00
Christopher Jeffrey
aeb3d8f352
http: minor fixes.
2017-10-18 12:58:21 -07:00
Node
d76ca37d0d
rpcclient: check body.error first
2017-10-11 16:23:37 +04:00
Node
b40ac6e081
http-client: fix returned errors
2017-10-05 18:52:14 +04:00
Daniel McNally
4f317992f5
Fixes to TX & Block confirmations property
...
TX `confirmations` property set to 0 for unconfirmed transactions. Block
`confirmations` property set to -1 for orphaned blocks. Fixing to add +1
to `confirmations` to match bitcoind behavior and corresponding bcoin
rpc methods - block or tx at tip of main chain starts with 1
confirmation (not zero).
2017-10-02 00:58:48 -07:00
Daniel McNally
c2cef86296
Adding 'confirmations' property to block getJSON
...
Adds a 'confirmations' property to the JSON returned by `cli tx [hash]`
as well as the Rest `/tx/:hash` call by subtracting block height from
chain height
2017-09-28 23:41:13 -04:00
Daniel McNally
0f68427778
Adding 'confirmations' property to TX getJSON
...
Adds a 'confirmations' property to the JSON returned by cli tx [hash] as
well as the REST '/tx/:hash' call by subtracting TX height from chain
height
2017-09-28 22:47:50 -04:00
Christopher Jeffrey
5f82c0d8c2
chain: alias all db methods. remove chainentry spaghetti code.
2017-09-06 10:20:40 -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
Christopher Jeffrey
063f55f448
script: remove instances of script.getSmall().
2017-08-30 10:07:07 -07:00
Javed Khan
9b777ac7e5
client: use 'new' passphrase param
2017-08-27 15:14:43 +05:30
Node
1c25d8913e
rpc: fix revHex arg in verifytxoutproof
2017-08-25 15:24:54 +04: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
c54ba4c5ab
http/client: lint.
2017-08-20 14:35:42 -07:00
Christopher Jeffrey
040e798d9f
rpc: fix getTXOutProof.
2017-08-19 19:36:28 -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
Bucko
af32c5d4c2
pass passphrase for key import
2017-08-17 18:24:40 -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)
2c8fcafa0a
Merge pull request #265 from nodar-chkuaselidze/fix/rpc-requests
...
REST API fixes
2017-08-17 17:23:04 -07:00
Bucko
64b7e4d0df
check in http client that an id is passed to create wallet
2017-08-16 17:58:37 -07:00
Christopher Jeffrey
2ce2f1f9f7
rpc: refactor getTXOutProof and mining calls.
2017-08-14 17:52:31 -07:00
Christopher Jeffrey
7de854ce3f
http: require json bodies to be an object.
2017-08-07 15:56:15 -07:00
Christopher Jeffrey
3bc47f5a3c
lint: enforce function names.
2017-08-06 21:36:48 -07:00
Christopher Jeffrey
62152a1005
util: remove util.inherits. inline inheritance.
2017-08-06 19:45:10 -07:00
Christopher Jeffrey
cc1462f697
utils/util: reorganize functions.
2017-08-06 04:00:08 -07:00
Christopher Jeffrey
1df577cb74
validation: refactor.
2017-08-06 03:23:37 -07:00
Node
7cf63990d9
http-client: seperate address and addresses methods
2017-08-04 03:48:01 +04:00
Node
e6120039fc
http-api: Normalize API calls, fix getCoins by addr/addresses
2017-08-04 03:17:54 +04:00
Christopher Jeffrey
bec1aee604
http: fix basic auth options.
2017-08-01 16:02:49 -07:00
Christopher Jeffrey
1d7b8ca7c1
http: better handling of api keys.
2017-08-01 01:38:36 -07:00
Christopher Jeffrey
c7ce985648
http: do not destroy socket on error. see #257 .
2017-07-31 18:52:33 -07:00
Christopher Jeffrey
e38da91065
lint: no extra parens around !await.
2017-07-31 18:21:03 -07:00
Christopher Jeffrey
88ef28d837
lint: no implicit casting.
2017-07-31 18:21:03 -07:00
Christopher Jeffrey
5eb6620431
lint: consistent return values.
2017-07-31 18:21:03 -07:00
Christopher Jeffrey
5e73e51177
lint: fix function names.
2017-07-31 18:21:03 -07:00
Christopher Jeffrey
55cf07a871
refactor: style for const/let and returns.
2017-07-31 18:21:02 -07:00
Christopher Jeffrey
6f3988e861
refactor: use const as much as possible.
2017-07-31 18:21:02 -07:00
Christopher Jeffrey
9cc5c393b4
eslint: use prefer-const.
2017-07-31 18:21:02 -07:00
Christopher Jeffrey
87d664784c
refactor: s/ts/time. s/ps/mtime.
2017-07-25 14:23:10 -07:00
Christopher Jeffrey
02e4dda012
refactor: cleanup for..of loops.
2017-07-25 11:39:12 -07:00
Christopher Jeffrey
32c93af2c4
node/rpc: throw errors on shutdown. minor changes.
2017-07-25 05:30:22 -07:00
Christopher Jeffrey
7eefb773be
refactor: use maps and sets wherever possible.
2017-07-25 05:15:47 -07:00