Commit Graph

392 Commits

Author SHA1 Message Date
Jonathan "Duke" Leto
44f34a22e7 more -zindex 2019-08-19 05:07:34 -07:00
Jonathan "Duke" Leto
5365d15e69 Correct various stats and add block height to response 2019-08-18 18:06:12 -07:00
Jonathan "Duke" Leto
80b1479184 Improve shielded-only zstats 2019-08-17 21:54:48 -07:00
Jonathan "Duke" Leto
469c3c9cf2 So many zstats 2019-08-17 21:20:10 -07:00
Jonathan "Duke" Leto
22c0a22926 Compiles, RPC gives back some shielded stats, which have bugs 2019-08-17 05:56:07 -07:00
Jonathan "Duke" Leto
70eb669e63 Return json data about shielded xtns/payments 2019-08-13 07:08:31 -07:00
Jonathan "Duke" Leto
464251bdc3 Add total payment stats to getchaintxstats 2019-08-12 17:38:37 -07:00
Jonathan "Duke" Leto
6fab065e45 Merge remote-tracking branch 'jl777/FSM' into duke 2019-08-04 21:15:34 -07:00
jl777
23ca86df3a Zawys new algo
1) FTL 4 seconds
2) MTP from 11 -> 1
3) must calc MAX(diff[I]) for past 11 blocks
4) bnTarget *= mult*mult
5) bnTarget.nBits -> onchain
2019-08-01 09:14:07 -11:00
jl777
a74bd537a4 .GetHex() 2019-07-31 21:22:17 -11:00
jl777
75c034113e Calculate correct target in getblocktemplate for adaptivepow 2019-07-31 21:20:58 -11:00
jl777
0454333ff8 Tristate KOMODO_NSPV 2019-07-30 05:11:57 -11:00
Jonathan "Duke" Leto
ff706b283a Merge remote-tracking branch 'jl777/FSM' into duke 2019-07-24 11:09:52 -07:00
Mihailo Milenkovic
bc665882ed nSPV modifications for CC and other fixes (#29) 2019-07-24 16:33:03 +02:00
Jonathan "Duke" Leto
e33a7e1367 Merge remote-tracking branch 'jl777/FSM' into duke 2019-07-22 02:38:38 -07: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
Jonathan "Duke" Leto
7ca4e59831 Merge remote-tracking branch 'jl777/FSM' into duke
Conflicts:
	src/hushd
	src/komodo_bitcoind.h
2019-07-17 20:51:52 -07: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
adc186390a nSPV mempool used by CC 2019-07-17 01:07:12 -11:00
jl777
28e10d71bf First version of mempool request 2019-07-15 02:04:19 -11:00
jl777
6cb639c2b7 nspv_listtransactions initial 2019-07-13 01:49:05 -11:00
jl777
f963001d0b Reduce getinfo footprint 2019-07-12 22:07:56 -11:00
jl777
7d38d22ce9 ->myGetTransaction for nSPV virtualisation 2019-07-12 01:35:59 -11:00
jl777
93fb6f5f51 -print 2019-07-11 21:47:48 -11:00
jl777
ea155ad656 Merge branch 'FSM' into jl777 2019-07-08 17:56:27 -11:00
jl777
24b67c623b Small fixes and logout 2019-07-06 19:41:55 -11:00
jl777
d3730db5d8 Prevent crash when displaying interest 2019-07-06 07:52:38 -11:00
jl777
3bf999989d ) 2019-07-06 00:26:28 -11:00
jl777
cf4b5323fd Add nspv_broadcast, to all parts: rpc, superlite, full node
A good example of how to add a new nSPV message, with corresponding rpc
support
2019-07-05 23:26:01 -11:00
jl777
ffd7509692 nspv_send -> spend 2019-07-05 22:13:06 -11:00
jl777
7c6f471173 Allow "inv" to be sent from superlite client 2019-07-05 06:57:09 -11:00
jl777
e0489802a5 -pindex 2019-07-05 04:59:44 -11:00
jl777
81d0e44732 Guards for nSPV in decode/send raw transaction 2019-07-05 04:58:30 -11:00
jl777
085f99d44d Add coinaddr to utxos 2019-07-05 00:35:44 -11:00
jl777
591185a0b3 Rest of client side low level rpc, incl messages 2019-07-04 00:29:18 -11:00
jl777
1841071a12 Merge pull request #1581 from Mixa84/FSM
Initial PegsCC implementation
2019-07-03 22:36:13 -11:00
Mihailo Milenkovic
1f013df156 Initial PegsCC implementation (#27) 2019-07-04 11:23:55 +02:00
jl777
c3343e237e Getinfo, login, listunspent, spentinfo rpc calls 2019-07-03 20:36:31 -11:00
Alrighttt
5e6737fc38 add additional param to importprivkey for other WIF formats 2019-07-01 19:03:52 +02:00
Alrighttt
896b6fee53 fix createrawtransaction curl example 2019-06-30 15:38:27 +02:00
Jonathan "Duke" Leto
ab9d871664 Merge remote-tracking branch 'jl777/FSM' into duke 2019-06-25 08:09:00 -07:00
Duke Leto
f5b4a57702 Fix -clientname, which must be used at runtime, not compile-time 2019-06-19 13:53:03 -04:00
jl777
65a92e20bf Merge pull request #1568 from blackjok3rtt/FSM
various bug fixes
2019-06-18 04:26:50 -11:00
blackjok3r
eca62bb4f3 fix crash/lockup on KMD with mining pools when an old utxo makes IsFinalTx fail in TestBlockValidity. 2019-06-18 21:49:56 +08:00
Mihailo Milenkovic
40ec8b3bac Add oraclessample rpc to get data for txid. 2019-06-15 15:36:04 +02:00
ca333
1403eb6cf7 bump version
bump version for the hardfork
2019-06-10 18:18:09 +02:00
jl777
439e7cb5d7 Fix getchaintips rpc crash. Thanks mike tout!! 2019-06-07 08:51:38 -11:00
jl777
89e1414c6b Merge pull request #1524 from KMDLabs/master
merge changes for gcharang
2019-06-03 23:05:06 -11:00
blackjok3r
bc69675fc3 undo attempt at hs/s for staking chains 2019-06-04 17:55:34 +08:00