Commit Graph

28539 Commits

Author SHA1 Message Date
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
6656270d0b Merge pull request #1617 from smk762/patch-6
update to COQUICASH, remove VOTE2019
2019-07-13 21:58:09 -11:00
smk762
b1d5348773 update to COQUICASH, remove VOTE2019 2019-07-14 15:38:31 +08:00
smk762
f186490cdc update to COQUICASH, remove VOTE2019 2019-07-14 15:36:52 +08:00
jl777
7eef2ba3d7 Merge pull request #1615 from dwygit/beta
fixed ac.json
2019-07-13 07:16:59 -11:00
Dwy !
8a20e3a9e7 fixed ac.json 2019-07-13 20:15:38 +02:00
jl777
f069d86a68 Merge pull request #1614 from smk762/patch-4
Create ac.json
2019-07-13 06:28:52 -11:00
smk762
2ed03590af Update ac.json
removed outer array
2019-07-14 01:25:17 +08:00
smk762
3661d19dff Create ac.json
alternative to assetchains.json with ac_name as unique key
2019-07-14 01:22:13 +08:00
jl777
3f8485e4fa Merge pull request #1613 from jl777/dev
Revert to coquicash magic, fix disable bits setting
2019-07-13 03:31:09 -11:00
jl777
bb2a16729c Revert to coquicash magic, fix disable bits setting 2019-07-13 03:29:54 -11:00
jl777
bd1fdc15af Merge pull request #1612 from jl777/jl777
Jl777
2019-07-12 22:35:07 -11:00
jl777
137586f463 Merge pull request #1611 from jl777/nSPV
NSPV
2019-07-12 22:34:27 -11:00
jl777
f963001d0b Reduce getinfo footprint 2019-07-12 22:07:56 -11:00
jl777
097f94b78e -print 2019-07-12 21:55:38 -11:00
jl777
a3c6736294 Revert 2019-07-12 21:47:38 -11:00
jl777
f9b2683cee -sleep 2019-07-12 21:45:41 -11:00
jl777
ef9b319f96 Error check 2019-07-12 21:43:15 -11:00
jl777
5bd1c6b9b1 Fix padding 2019-07-12 21:34:27 -11:00
jl777
7a5a52c89b +prints 2019-07-12 21:20:15 -11:00
jl777
2487a1079b Test 2019-07-12 21:01:21 -11:00
jl777
c7d0054214 int16 -> int32 2019-07-12 20:42:45 -11:00
jl777
978d16a32b int32_t 2019-07-12 19:45:04 -11:00
jl777
e43eb755e7 Uint 2019-07-12 19:43:37 -11:00
jl777
faa44230c1 Bigtxlen 2019-07-12 19:38:15 -11:00
jl777
223152deab 5 seconds 2019-07-12 18:39:02 -11:00
jl777
eafa3f703d 10 second timeout 2019-07-12 18:38:44 -11:00
jl777
4701a9c2f6 Longer poll 2019-07-12 18:22:29 -11:00
jl777
506cf51b62 -lock 2019-07-12 18:18:10 -11:00
jl777
96daa77e34 -orint 2019-07-12 18:12:23 -11:00
jl777
92a8d1f89e +print 2019-07-12 18:04:41 -11:00
jl777
88b5480924 Merge pull request #1608 from jl777/dev
-const in CBlockIndexWorkComparator
2019-07-12 17:53:19 -11:00
jl777
e0d3cac3dc Merge branch 'FSM' into jl777 2019-07-12 16:58:45 -11:00
jl777
e4c67ed018 sizeof(ASSETCHAINS_PEGSCCPARAMS)/sizeof(*ASSETCHAINS_PEGSCCPARAMS) 2019-07-12 16:57:51 -11:00
jl777
5af5292f52 sizeof(ASSETCHAINS_PEGSCCPARAMS)/sizeof(*ASSETCHAINS_PEGSCCPARAMS) 2019-07-12 16:50:50 -11:00
jl777
b119fd7a98 Merge branch 'jl777' into nSPV 2019-07-12 16:43:41 -11:00
jl777
01be896b0f Merge branch 'FSM' into jl777 2019-07-12 16:42:54 -11:00
jl777
043199aa4a Merge 2019-07-12 16:42:15 -11:00
jl777
3d22bdf181 Merge branch 'dev' into FSM
# Conflicts:
#	src/komodo_globals.h
2019-07-12 16:40:49 -11:00
jl777
152c86ce84 Fix MAXERAS crash (split array overflow) 2019-07-12 16:39:33 -11:00
jl777
b018d0dda0 Merge pull request #1610 from letolabs/hushsupply2
Upstream Hush Supply Curve
2019-07-12 07:26:40 -11:00
Jonathan "Duke" Leto
d9617c68fd Add fiat script 2019-07-12 11:22:42 -07:00
Jonathan "Duke" Leto
7d5af48914 Remove duplicate ac_supply and add ac_perc 2019-07-12 11:20:52 -07:00
Jonathan "Duke" Leto
8f5cbc8af2 Missing comma 2019-07-12 11:20:52 -07:00
Jonathan "Duke" Leto
9b474d4447 Add HUSH3 to assetchains.(old|json) 2019-07-12 11:20:40 -07:00
Jonathan "Duke" Leto
f0398720dd Add hush convenience scripts 2019-07-12 11:20:40 -07:00
Duke Leto
3806409294 Optimize check for HUSH3 in komodo_commission 2019-07-12 11:20:26 -07:00
Duke Leto
7d8928c5e9 Use strncmp correctly 2019-07-12 11:20:17 -07:00
Jonathan "Duke" Leto
6024c775ac Initial port of Hush supply curve to KMD 2019-07-12 11:20:09 -07:00