Commit Graph

22367 Commits

Author SHA1 Message Date
jl777
69ca7f11f4 *retvalp = skipvalidation != 0 ? 0 : -1; 2019-07-22 07:16:51 -11:00
jl777
e87602ffc6 Syntax 2019-07-22 05:32:52 -11:00
jl777
db4721816c Have full node txproof return height if not set 2019-07-22 05:30:04 -11:00
jl777
0ce3df8627 -print 2019-07-22 00:18:37 -11:00
jl777
40413281f4 -print 2019-07-22 00:01:42 -11:00
jl777
587a4a6b91 +print 2019-07-21 23:52:29 -11:00
jl777
c9a8402f30 Faster 2019-07-21 10:04:11 -11:00
jl777
987fc332e0 Various bug fixes found during libnspv 2019-07-21 09:29:30 -11:00
jl777
5333c92237 Fix i == to i = 2019-07-20 03:16:11 -11:00
jl777
8a4001f6ed Ignore txproofless cache entry if height is specified 2019-07-20 01:52:33 -11:00
jl777
d7de64a998 +/- print 2019-07-20 01:46:08 -11:00
jl777
981e6eac0b Test 2019-07-20 01:38:36 -11:00
jl777
276ebfe547 Test 2019-07-20 01:33:11 -11:00
jl777
ffad20360d +prints 2019-07-20 01:28:54 -11:00
jl777
b69c24da55 -print 2019-07-20 00:56:25 -11:00
jl777
79e273d2db +print 2019-07-20 00:26:23 -11:00
jl777
8ba800d678 extern int32_t KOMODO_NSPV; 2019-07-20 00:20:07 -11:00
jl777
f97a4a3caf +print 2019-07-20 00:05:08 -11:00
jl777
b52b4b7685 Prevent nspv cli when nSPV=0 2019-07-19 22:34:09 -11:00
jl777
4a1afec4e9 Fix nexttxlen 2019-07-19 08:01:07 -11:00
jl777
e1bdd3bb14 Fix mempool son 2019-07-19 07:55:16 -11:00
jl777
3ba7d72856 -msg print 2019-07-19 06:02:31 -11:00
jl777
9e55b41979 -print 2019-07-19 05:51:56 -11:00
jl777
59d4e939bd +prints 2019-07-19 05:40:31 -11:00
jl777
995687de26 +print 2019-07-19 05:30:36 -11:00
jl777
2bae0f0226 +print 2019-07-19 05:25:26 -11:00
jl777
8738d15aa0 Syntax 2019-07-19 02:56:15 -11:00
jl777
fc537a2231 +prints 2019-07-19 02:47:56 -11:00
jl777
9907aaebdd Prevent init spam 2019-07-18 06:57:54 -11:00
jl777
580a465436 Syntax 2019-07-18 02:57:59 -11:00
jl777
be93e8049f Syntax 2019-07-18 02:55:44 -11:00
jl777
d08c751668 Test 2019-07-18 02:53:09 -11:00
jl777
a2a6732a18 Sytax 2019-07-18 02:50:14 -11:00
jl777
f3a16b7765 Fix 2019-07-18 02:45:00 -11:00
jl777
730ad7e6e8 NSPV_MEMPOOL_CCEVALCODE
Searches mempool for CC evalcode and fancied
2019-07-18 02:43:13 -11:00
jl777
94294cbee6 Merge branch 'jl777' into nSPV 2019-07-17 19:06:48 -11:00
jl777
d2f4ef0519 Merge pull request #1622 from DeckerSU/patch-createrawtransaction
createrawtransaction enchancement
2019-07-17 19:03:35 -11:00
DeckerSU
2b799143f8 createrawtransaction enchancement
- allowing create OP_RETURN vouts (field "data" in "outputs" json)
- allowing using script (hex), in "outputs" (for example, you can use any P2PK, P2PKH or P2SH script as destination)
- advanced duplicates checking (users can't use same destination in various forms, for example, you can't make one vout as address and second vout, same address, but coded with P2PK script)
- allowing to bypass duplicates check for notaries (for example, to manually create splitfunds txes, using daemon RPC only), for common users it's forbidden

Useful usage:

Don't forget that you can create raw transaction with empty vins, like

createrawtransaction "[]" "{\"RKZWgNw9rvMJCHeD6mFgFNrJGxCoT2bft1\":0.777}"

and then fund it (with vins) using fundrawtransaction.

Duplicates testing vectors (passed):

createrawtransaction "[]" "{\"RKZWgNw9rvMJCHeD6mFgFNrJGxCoT2bft1\":0.777,\"2102c42516ab9b0958f349783222c8b665314ce0f12ae513af1c15e10e8045b87544ac\":0.01}"
createrawtransaction "[]" "{\"76a91470c770cd22061696c01011a020892d136caba70588ac\":0.777,\"2102c42516ab9b0958f349783222c8b665314ce0f12ae513af1c15e10e8045b87544ac\":0.01}"
createrawtransaction "[]" "{\"2102c42516ab9b0958f349783222c8b665314ce0f12ae513af1c15e10e8045b87544ac\":0.777,\"76a91470c770cd22061696c01011a020892d136caba70588ac\":0.01}"
createrawtransaction "[]" "{\"data\":\"010203\",\"76a91470c770cd22061696c01011a020892d136caba70588ac\":0.01}"
createrawtransaction "[]" "{\"RKZWgNw9rvMJCHeD6mFgFNrJGxCoT2bft1\":0.777,\"76a91470c770cd22061696c01011a020892d136caba70588ac\":0.01}"
createrawtransaction "[]" "{\"76a91470c770cd22061696c01011a020892d136caba70588ac\":0.777,\"RKZWgNw9rvMJCHeD6mFgFNrJGxCoT2bft1\":0.01}"
createrawtransaction "[]" "{\"76a91470c770cd22061696c01011a020892d136caba70588ac\":0.777,\"a914fe6ac2ca169440909ab86e2e015db0938b92634787\":0.01}"
createrawtransaction "[]" "{\"76a91470c770cd22061696c01011a020892d136caba70588ac\":0.777,\"a914fe6ac2ca169440909ab86e2e015db0938b92634787\":0.01,\"a914fe6ac2ca169440909ab86e2e015db0938b92634787\":0.02}"
createrawtransaction "[]" "{\"76a91470c770cd22061696c01011a020892d136caba70588ac\":0.777,\"a914fe6ac2ca169440909ab86e2e015db0938b92634787\":0.01,\"data\":\"00010203\"}"
2019-07-17 20:33:51 +03:00
jl777
a24a1553e1 Syntax 2019-07-17 01:28:49 -11:00
jl777
adc186390a nSPV mempool used by CC 2019-07-17 01:07:12 -11:00
jl777
ab4619c98b Scrub privkeys from memory after done 2019-07-15 04:06:20 -11:00
jl777
9ac1b1fea8 Implement nspv_mempool functions
#define NSPV_MEMPOOL_ALL 0
#define NSPV_MEMPOOL_ADDRESS 1
#define NSPV_MEMPOOL_ISSPENT 2
#define NSPV_MEMPOOL_INMEMPOOL 3
2019-07-15 03:39:09 -11:00
jl777
91a88acc22 Len -> n 2019-07-15 03:15:33 -11:00
jl777
6312e435ea isCC 2019-07-15 03:10:15 -11:00
jl777
de0a8ada1c Seen 2019-07-15 03:08:35 -11:00
jl777
b3a4493f0d Fix 2019-07-15 03:07:25 -11:00
jl777
0a99703311 Null term 2019-07-15 03:05:51 -11:00
jl777
cd2ebf3a6e Fix 2019-07-15 03:05:10 -11:00
jl777
64ad47d5c7 Fix 2019-07-15 03:01:39 -11:00
jl777
7d97b461be Prints 2019-07-15 02:55:52 -11:00