Commit graph

633 commits

Author SHA1 Message Date
d7532fedd3
Update dependencies, fix wrapping operations on difficulty, reduce number of template hashes on verify, catch panics on external block add 2023-07-20 07:40:19 +02:00
b57226c7ed
Speedup iteration of blocks in sidechain using iterationCache 2023-07-20 07:40:19 +02:00
5c24136e45
Speedup GetShares, Shares allocation, Shares.Compact 2023-07-20 07:40:19 +02:00
152cbc54c2
Implement utils.NthElementSlice to use QuickSelect, improves GetDifficulty 2023-07-20 07:40:19 +02:00
90184b07cc
GetDifficulty / GetShares speedup 2023-07-20 07:40:19 +02:00
ac3d6b6141
Added faster pruneBlocks implementation 2023-07-20 07:40:19 +02:00
704b477c37
Slightly faster CompareConsensusPublicKeyBytes calls 2023-07-20 07:40:19 +02:00
c4053f3480
Faster pool block iteration backwards via PoolBlock iteration cache, added benchmark to SideChain 2023-07-20 07:40:19 +02:00
4ef60296f1
Updated to Go 1.21
* Replaced exp/slices and exp/maps with slices/maps implementation
* Replaced utils.Min/Max with min/max
* Introduced GOEXPERIMENT=loopvar on build steps
* Updated tests/docker-compose to go1.21-rc-alpine
* Updated nginx to 1.25
* Preallocate mined blocks on Sidechain
* Update edwards25519 version
2023-07-20 07:40:18 +02:00
03ebb10400
Update Libera.Chat IRC links to be able to point to plumbed Matrix rooms
All checks were successful
continuous-integration/drone/push Build is passing
2023-07-20 07:37:45 +02:00
f5dbf6203a
Add a note in /miner page about view only wallets and hardware signing 2023-07-20 07:37:45 +02:00
363b8ef951
Update dependencies
All checks were successful
continuous-integration/drone/push Build is passing
2023-06-14 17:27:45 +02:00
4376c41511
Optimize struct alignment and memory size across the project 2023-06-14 17:26:46 +02:00
89339ee88a
Replace golang map with https://github.com/dolthub/swiss on sidechain/mainchain 2023-06-10 01:31:42 +02:00
bad1e302c8
Added sidechain GetPossibleUncles() method
All checks were successful
continuous-integration/drone/push Build is passing
2023-06-05 23:46:34 +02:00
4ed83d58f5
Allow 0/0 peers setting for debugging, check outgoing connections in monerod reconnect loop 2023-06-05 23:46:16 +02:00
29751ec74d
Prevent heap allocations in block encoding/decoding/generation of keys 2023-06-05 23:45:38 +02:00
209decd5b7
Do not allow empty spend and view pubkeys in side data 2023-06-05 23:44:54 +02:00
03ff13fc0c
added merkle tree MainBranch precalculation method, mempool utilities and handling, UVarInt64SliceSize, Share utilities 2023-06-05 23:44:24 +02:00
9b241e22db
Changed how blocks are iterated from sidechain 2023-06-05 23:42:53 +02:00
1b04de234c
Changed how consensus Id is generated 2023-06-05 23:41:32 +02:00
330d3fe3aa
fix: CircularBuffer PushUnique with zero len 2023-06-05 23:38:58 +02:00
de663205ba
Report allocations on address benchmarks 2023-06-04 12:06:41 +02:00
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
5ab76f5503
Calculate precise buffer lengths using varint sizes 2023-06-03 23:33:13 +02:00
0cd75a0509
added limitbytereader to utils, less buffer usage on block decoding 2023-06-03 10:05:05 +02:00
e4be941d5e
fix zmq test 2023-06-03 10:05:05 +02:00
8d779e9cbc
refactored sidechain testdata initialization, web stream request api 2023-06-03 10:05:05 +02:00
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
2fe65a7a62
ZMQ: Use serial method instead of channels to preserve ordering of events 2023-05-31 12:26:11 +02:00
879f15515c
ZMQ: Alter minimal txpool data to include all fields 2023-05-31 12:26:11 +02:00
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
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
f348588b37
Optimize API block count
All checks were successful
continuous-integration/drone/push Build is passing
2023-05-30 11:42:56 +02:00
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
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
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
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
6286a8ab24
index: faster materialized view refresh in some cases 2023-05-29 16:01:41 +02:00
25f58426a7
sidechain: err on child depth issue 2023-05-29 16:01:41 +02:00
eadd41c556
daemon: keep looping on nil tips 2023-05-29 16:01:09 +02:00
f4c21dc425
Add hardcoded default pool name case in Consensus 2023-05-29 10:25:55 +02:00
bf30f7592e
Verify and warn inconsistent depths on sidechain 2023-05-29 10:25:55 +02:00
e94e54c27d
fix genesis share private key seed check 2023-05-29 09:09:03 +02:00
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
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
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
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
ecdac0b24d
Enable postgres statistics tracking 2023-05-27 22:20:31 +02:00
b094a1e5f2
Increase number of idle connections on postgres 2023-05-27 22:14:30 +02:00