Commit graph

565 commits

Author SHA1 Message Date
DataHoarder 03ff13fc0c
added merkle tree MainBranch precalculation method, mempool utilities and handling, UVarInt64SliceSize, Share utilities 2023-06-05 23:44:24 +02:00
DataHoarder 9b241e22db
Changed how blocks are iterated from sidechain 2023-06-05 23:42:53 +02:00
DataHoarder 1b04de234c
Changed how consensus Id is generated 2023-06-05 23:41:32 +02:00
DataHoarder 330d3fe3aa
fix: CircularBuffer PushUnique with zero len 2023-06-05 23:38:58 +02:00
DataHoarder de663205ba
Report allocations on address benchmarks 2023-06-04 12:06:41 +02:00
DataHoarder f0639e51dd
Reduce sha3 heap allocations on Write
All checks were successful
continuous-integration/drone/push Build is passing
2023-06-04 11:28:21 +02:00
DataHoarder 5ab76f5503
Calculate precise buffer lengths using varint sizes 2023-06-03 23:33:13 +02:00
DataHoarder 0cd75a0509
added limitbytereader to utils, less buffer usage on block decoding 2023-06-03 10:05:05 +02:00
DataHoarder e4be941d5e
fix zmq test 2023-06-03 10:05:05 +02:00
DataHoarder 8d779e9cbc
refactored sidechain testdata initialization, web stream request api 2023-06-03 10:05:05 +02:00
DataHoarder d40172d479
Refactor PPLNS window display in miner page
Some checks failed
continuous-integration/drone/push Build is failing
2023-06-01 07:35:20 +02:00
DataHoarder 2fe65a7a62
ZMQ: Use serial method instead of channels to preserve ordering of events 2023-05-31 12:26:11 +02:00
DataHoarder 879f15515c
ZMQ: Alter minimal txpool data to include all fields 2023-05-31 12:26:11 +02:00
DataHoarder 27f65692be
Added sidechain ShuffleSequence utils, loop DownloadMissingBlocks on Server until no more are found
All checks were successful
continuous-integration/drone/push Build is passing
2023-05-31 01:55:34 +02:00
DataHoarder f35fd872a5
Offer API for last payouts from height / timestamp
All checks were successful
continuous-integration/drone/push Build is passing
2023-05-31 00:00:50 +02:00
DataHoarder f348588b37
Optimize API block count
All checks were successful
continuous-integration/drone/push Build is passing
2023-05-30 11:42:56 +02:00
DataHoarder e616cd6d82
Fix typo in miner.qtpl
All checks were successful
continuous-integration/drone/push Build is passing
2023-05-30 09:50:30 +02:00
DataHoarder 8b864628f0
fix sidechain test: provide Context on fake server
All checks were successful
continuous-integration/drone/push Build is passing
2023-05-30 09:44:01 +02:00
DataHoarder cd99095931
New utilities and additions for types / sidechain
Some checks failed
continuous-integration/drone/push Build is failing
2023-05-30 08:49:52 +02:00
DataHoarder f0d81343cc
Use pg_ivm extension for incremental materialized view updates, bump to postgres 15.3
All checks were successful
continuous-integration/drone/push Build is passing
2023-05-29 16:01:41 +02:00
DataHoarder 6286a8ab24
index: faster materialized view refresh in some cases 2023-05-29 16:01:41 +02:00
DataHoarder 25f58426a7
sidechain: err on child depth issue 2023-05-29 16:01:41 +02:00
DataHoarder eadd41c556
daemon: keep looping on nil tips 2023-05-29 16:01:09 +02:00
DataHoarder f4c21dc425
Add hardcoded default pool name case in Consensus 2023-05-29 10:25:55 +02:00
DataHoarder bf30f7592e
Verify and warn inconsistent depths on sidechain 2023-05-29 10:25:55 +02:00
DataHoarder e94e54c27d
fix genesis share private key seed check 2023-05-29 09:09:03 +02:00
DataHoarder 8774b1d70c
Use indexed materialized views for found_main_blocks, payouts
All checks were successful
continuous-integration/drone/push Build is passing
2023-05-29 08:39:26 +02:00
DataHoarder fe11ac2513
Create schema VIEW for found blocks / payouts, track debug tags on web/api/queries
All checks were successful
continuous-integration/drone/push Build is passing
2023-05-28 13:54:15 +02:00
DataHoarder 8d30463c56
Update nginx to have keepalive connections
All checks were successful
continuous-integration/drone/push Build is passing
2023-05-27 23:41:24 +02:00
DataHoarder 91c90ac598
Optimize pool_info, miner_info db queries
All checks were successful
continuous-integration/drone/push Build is passing
2023-05-27 23:06:55 +02:00
DataHoarder ecdac0b24d
Enable postgres statistics tracking 2023-05-27 22:20:31 +02:00
DataHoarder b094a1e5f2
Increase number of idle connections on postgres 2023-05-27 22:14:30 +02:00
DataHoarder f534939612
Use buffered channels on Index 2023-05-27 21:52:01 +02:00
DataHoarder 02a4caa78b
Generalize API JSON encoding methods 2023-05-27 21:48:18 +02:00
DataHoarder 63771cba65
Streamable API results
All checks were successful
continuous-integration/drone/push Build is passing
2023-05-27 18:29:04 +02:00
DataHoarder c1ad4c5c37
Use github.com/goccy/go-json instead of github.com/json-iterator/go for even more optimized encoding, update base58 encoder/decoder
All checks were successful
continuous-integration/drone/push Build is passing
2023-05-27 17:28:03 +02:00
DataHoarder ff1b712f32
Optimize public/private keypair JSON encoding 2023-05-27 15:38:26 +02:00
DataHoarder c103c46561
Optimize web /miners, optimize Hash / Bytes / Difficulty JSON encoding
All checks were successful
continuous-integration/drone/push Build is passing
2023-05-27 15:30:03 +02:00
DataHoarder d577856081
Faster JSON encoder/decoder
All checks were successful
continuous-integration/drone/push Build is passing
2023-05-27 14:43:22 +02:00
DataHoarder 59756ab560
Update dependencies, less 128 bit divisions/multiplications, reduce heap allocations
All checks were successful
continuous-integration/drone/push Build is passing
2023-05-27 14:11:10 +02:00
DataHoarder ee12d0a8b7
Update dependencies, improve Address decoding
All checks were successful
continuous-integration/drone/push Build is passing
2023-05-27 13:49:34 +02:00
DataHoarder 6936137b3c
fix missing start/end tags on templates
All checks were successful
continuous-integration/drone/push Build is passing
2023-05-27 13:18:17 +02:00
DataHoarder 71689792e6
Convert web templates to quicktemplate for speedup, remove usages of stick
All checks were successful
continuous-integration/drone/push Build is passing
2023-05-27 13:08:22 +02:00
DataHoarder 47430a1bf1
Fix Sidechain -> SideChain in version check on header.html 2023-05-26 08:11:33 +02:00
DataHoarder 3b14cc2323
Fixed floating point exponential notation in miner/calculate page
All checks were successful
continuous-integration/drone/push Build is passing
2023-05-26 05:57:50 +02:00
DataHoarder 49199bf61c
Update SecondsSinceLastBlock on PPLNS scan
All checks were successful
continuous-integration/drone/push Build is passing
2023-05-25 14:51:50 +02:00
DataHoarder de93354347
Replace stick with fork to use pointers instead of values on lexer/parser 2023-05-25 14:49:05 +02:00
DataHoarder 7fcad714be
Pool web response buffer at 1 MiB between responses 2023-05-25 14:48:11 +02:00
DataHoarder 493b482d90
Do not require p2pool sync for API to start, cache p2api.Consensus() call 2023-05-25 14:47:25 +02:00
DataHoarder 3c1f7dfe38
Optimize JSON decoding of Address with less buffer creation
All checks were successful
continuous-integration/drone/push Build is passing
2023-05-24 16:23:54 +02:00