Commit graph

604 commits

Author SHA1 Message Date
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
DataHoarder c32f87e9b4
Optimize JSON decoding of Hash / Address / PublicKeyBytes / PrivateKeyBytes
All checks were successful
continuous-integration/drone/push Build is passing
2023-05-24 15:59:07 +02:00
DataHoarder 5e9bc7e825
Added light cache-control headers on miner output on api and web
All checks were successful
continuous-integration/drone/push Build is passing
2023-05-24 15:10:07 +02:00
DataHoarder a2b701e87b
Register listeners for MainData / MinerData updates 2023-05-24 12:40:02 +02:00
DataHoarder 52b2d617c0
Lock seenBlocks on cleanupSeenBlocks method
All checks were successful
continuous-integration/drone/push Build is passing
2023-05-24 09:14:27 +02:00
DataHoarder 009e507d5d
Fixed FullId TemplateId() method
Some checks are pending
continuous-integration/drone/push Build is running
2023-05-24 09:13:08 +02:00
DataHoarder 48915be81b
Added tests for pre-fork p2pool, generalize tests, added patched missing blocks for old mini sidechain test
All checks were successful
continuous-integration/drone/push Build is passing
2023-05-23 21:19:42 +02:00
DataHoarder 415cde0759
Cleanup merkle tree calculation to be less verbose
All checks were successful
continuous-integration/drone/push Build is passing
2023-05-23 20:21:40 +02:00
DataHoarder 3b268558d8
Split and cleanup merkle tree for transactions
All checks were successful
continuous-integration/drone/push Build is passing
2023-05-23 15:38:20 +02:00
DataHoarder 951b1105ff
Speed improvements on partial crypto derivation
All checks were successful
continuous-integration/drone/push Build is passing
2023-05-23 10:25:10 +02:00
DataHoarder 2ad5e1ba38
Sync speed improvements by better crypto cache
All checks were successful
continuous-integration/drone/push Build is passing
2023-05-23 09:38:09 +02:00
DataHoarder db5a26de4f
Resolve lock contention whenever bans occur with multiple clients connected
All checks were successful
continuous-integration/drone/push Build is passing
2023-05-23 07:36:35 +02:00