Commit Graph

401 Commits

Author SHA1 Message Date
jl777
b8dea3d5de Don't display getminingdiff in css 2019-08-07 20:47:55 -11:00
jl777
63594dfc24 >= 64 display 2019-08-07 02:26:06 -11:00
jl777
bf44de39a7 Print 2019-08-07 00:48:17 -11:00
jl777
f38c46bbad Fix ctB calc 2019-08-07 00:44:11 -11:00
jl777
1afc2f2569 bnTargetB in CSV 2019-08-07 00:24:00 -11:00
jl777
c9326196b2 Bits not timestamp! 2019-08-06 01:08:24 -11:00
jl777
fde3a1bd52 Hex print nBits 2019-08-06 01:05:05 -11:00
jl777
0bcd425424 Solvetime in csv 2019-08-06 00:32:04 -11:00
jl777
bfb2e128f7 Str2 2019-08-05 21:47:27 -11:00
jl777
138e569388 Use actual target met 2019-08-05 21:45:41 -11:00
jl777
4dbac8fea0 Strange 2019-08-05 07:25:53 -11:00
jl777
314c06007c fname[] 2019-08-05 07:23:45 -11:00
jl777
7bedc90a8b Str fix 2019-08-05 07:20:19 -11:00
jl777
1ee818c98c fname 2019-08-05 07:19:17 -11:00
jl777
5e980a8c26 fname 2019-08-05 07:18:50 -11:00
jl777
caeb613e0b Print target 2019-08-05 07:17:04 -11:00
jl777
fd28ee9c66 Return result 2019-08-05 07:15:49 -11:00
jl777
4a09f0d13e No args 2019-08-05 07:13:34 -11:00
jl777
8e2fc1c6d9 /tmp/mining.csv 2019-08-05 07:10:50 -11:00
jl777
69f87c00ad ; 2019-08-05 07:04:30 -11:00
jl777
3ff34c97cc CBlockIndex *komodo_chainactive(int32_t height); 2019-08-05 07:03:47 -11:00
jl777
e9cdff1a28 genminingCSV 2019-08-05 07:00:28 -11: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
Mihailo Milenkovic
bc665882ed nSPV modifications for CC and other fixes (#29) 2019-07-24 16:33:03 +02: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
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