SChernykh
d4329ae594
Show file:line where panic() was called from
1 year ago
SChernykh
2c4c2b8469
Fixed a rare crash on exit
1 year ago
SChernykh
14f667de74
Support dynamic PPLNS window in status
1 year ago
SChernykh
578baeae96
API: added `pplnsWeight` to pool stats
1 year ago
SChernykh
1ad3fdfd46
Added more errors checks to p2pool_api
1 year ago
SChernykh
8e7df958b8
Use extra_nonce to signal hardfork readiness
1 year ago
SChernykh
4f2ad9a93c
Optimized `get_shares`
1 year ago
SChernykh
850eb8e6e0
Fixed `submit_block`
1 year ago
SChernykh
47f551c046
Randomize output order for P2Pool payouts
1 year ago
SChernykh
ae6747c82d
Initialize tx key from previous blocks
1 year ago
SChernykh
1bd04c2840
Initialize tx key from random seed
1 year ago
SChernykh
11e4c459c9
pub/sec tx key cleanup
1 year ago
SChernykh
647319b731
Added missing check to `update_chain_tip`
1 year ago
SChernykh
e0913f9068
Speed up `calc_sidechain_hash`
1 year ago
SChernykh
af0fa872ae
Set sidechain extra (duplicate shares fix)
1 year ago
SChernykh
1ce8f28105
Added sidechain extra
1 year ago
SChernykh
a525f34fec
Speed up `calc_miner_tx_hash` a lot
...
Cache keccak state and update it for new extra_nonce in O(1) time instead of O(N). It reduces the number `keccakf` calls from 30-150 to just 2-3. Time to generate 10,000 hashing blobs is reduced from 0.75s to 0.03s.
1 year ago
SChernykh
632f3faac5
Refactored keccak interface
...
- Allow calculating keccak hash in steps
- Only allow 32 and 200 byte final hashes
1 year ago
SChernykh
4f34c4466a
Dynamic PPLNS window
1 year ago
SChernykh
ccc5117172
Track shares that failed to be added
1 year ago
SChernykh
b346b93285
Updated copyright
1 year ago
SChernykh
2b61c1d90f
p2pool v2.7
1 year ago
SChernykh
baf5a64c51
Add high fee transactions immediately
1 year ago
SChernykh
260564cff1
Check for `NO_COLOR` before logging starts
1 year ago
SChernykh
726224b253
Support `NO_COLOR` environment variable
1 year ago
SChernykh
421e087d81
Fixed UV thread pool size
1 year ago
SChernykh
a1ec97a221
Fixed `submit_block` error logging
1 year ago
SChernykh
d151ed9354
Miner: fixed share counter reset logic
1 year ago
SChernykh
7502481f26
Fixed cppcheck issues
1 year ago
SChernykh
76e7e4956d
Miner: fixed share counting during initial sync
1 year ago
SChernykh
15d25bca27
Fixed data race
1 year ago
SChernykh
dffc8bcea0
Fixed cppcheck issues
1 year ago
SChernykh
a61966ed61
Don't count shares that were found during sync
1 year ago
SChernykh
e6d77a40e2
Check block major version in `deserialize()`
1 year ago
SChernykh
edcb933874
Call `get_miner_data` again after startup is done
...
Startup sequence can take a while, so miner data can change - new transactions added, or a new block found by the network.
1 year ago
SChernykh
be18ad4177
Made payout messages more visible
1 year ago
SChernykh
07a5b191bb
Fixes for different BSD variants
1 year ago
SChernykh
da12b329be
Check the block id returned by `BLOCK_RESPONSE`
1 year ago
SChernykh
3902612c4b
P2PServer: show more data for connected peers
1 year ago
SChernykh
9bce415523
Added alternative command line parameter names
1 year ago
SChernykh
3e4f877ec0
Display software name in peers list
1 year ago
SChernykh
67bbfea87d
p2pool v2.6
1 year ago
SChernykh
220c6939b1
Ignore shares from peers who have lagging monerod
...
More than 10 seconds lag is unacceptable
1 year ago
SChernykh
fd27ea0e8f
Console: check for arguments when required
2 years ago
SChernykh
4bb1982806
Added BlockTemplate tests
2 years ago
SChernykh
9283677a2b
Sync test: log more data in the end
2 years ago
SChernykh
d4180a5084
Fixed Coverity issue
2 years ago
SChernykh
2721b16c46
Miner: fixed data race
2 years ago
SChernykh
f1ff6a21ee
Revert "Broadcast uncle blocks at the same height"
...
This reverts commit 530079b8a5
.
2 years ago
SChernykh
530079b8a5
Broadcast uncle blocks at the same height
...
To reduce orphan block rate
2 years ago
SChernykh
2ca428bbbb
BlockTemplate: non-ambiguous transaction order
...
Different nodes could pick different transactions with the same fee/byte which hurted compact broadcasts efficiency
2 years ago
SChernykh
8a27a8cce4
Added a safety check to block template update
2 years ago
SChernykh
7eec4d742c
P2PServer: removed an unnecessary lock
2 years ago
SChernykh
3f66975e1b
Optimized transaction picking algorithm
2 years ago
SChernykh
b7f8c973f4
Refined transaction picking algorithm
2 years ago
SChernykh
72e414b2b7
Fixed struct alignment
2 years ago
SChernykh
79a31ce57c
SideChain: reduce lock scope in get_outputs_blob
2 years ago
SChernykh
488ed8e562
Added more 128 bit calculations
2 years ago
SChernykh
b3bce1651b
SideChain: use full 128 bits in get_difficulty
2 years ago
SChernykh
cc2f031a32
Fixed a race when stopping logger
2 years ago
SChernykh
d0eea1bf91
Fixed libuv init/shutdown sequence
2 years ago
SChernykh
53ba29b288
Optimized crypto cache memory allocation
2 years ago
SChernykh
c5f3a03d1e
Improved `peers` display
2 years ago
SChernykh
da9cdf7df3
Send our P2Pool version to other peers
2 years ago
SChernykh
8a7f1b1b3a
Log shares found by other nodes
2 years ago
SChernykh
aa14620a50
Merge branch 'compact_broadcast'
2 years ago
SChernykh
1fa6a7c11a
Fixed mouse wheel scrolling on Windows
2 years ago
SChernykh
25806b67a2
Added protocol version negotiation
...
Protocol version 1.1: compact block broadcasts
2 years ago
SChernykh
47ff7e228e
Added code to deserialize compact blobs
2 years ago
SChernykh
c135787620
Prepare compact blob for block broadcasts
...
Reference transactions by index in the parent block instead of storing full 32 bytes per transaction
2 years ago
SChernykh
bbc3d44526
P2PServer: tidy up PEER_LIST_RESPONSE messages
2 years ago
SChernykh
2e747beda6
Added sidechain height to SHARE FOUND log
2 years ago
SChernykh
19414b061b
Refactored BackgroundJobTracker
2 years ago
SChernykh
74b5ab1798
Force update block template after 30 seconds
...
To get new transactions in
2 years ago
SChernykh
83cda110aa
P2PServer: tweaked invalid timestamp messages
2 years ago
SChernykh
1f7c89a95c
Fixed Coverity issues
2 years ago
SChernykh
0df11d24f5
P2PServer: tweaked invalid timestamp logic
2 years ago
SChernykh
a6c27a1e3f
P2PServer: checks timestamps only for new blocks
2 years ago
SChernykh
c090b0cf62
P2PServer: tweaked invalid timestamp logic
2 years ago
SChernykh
45660e3d96
Show wallet address in error messages and status
2 years ago
SChernykh
732190bb11
P2PServer: sanity check for timestamps
2 years ago
SChernykh
255d312ae0
SideChain: log blocks with the same id
2 years ago
SChernykh
cc92ae7998
Retry get_block_headers_range RPC call if it fails
2 years ago
SChernykh
07b460147e
P2PServer: added missing time check
2 years ago
SChernykh
6cf1b13500
p2pool v2.5
2 years ago
SChernykh
65a9574e52
Added `--p2p-external-port` command line parameter
2 years ago
SChernykh
d081c8ea74
TCPServer: fixed data race during shutdown
2 years ago
SChernykh
c029e5c39d
Added macro for debug builds
2 years ago
SChernykh
a917a9493c
Randomize extra_nonce
...
To guarantee that hashing blobs will be different between different p2pool nodes, even if they mine to the same wallet address and don't have transactions to shuffle within the block template.
2 years ago
SChernykh
02405bb8ff
Workaround for duplicate sidechain IDs
...
Place transactions in the block template in random order, so two different p2pool nodes mining to the same wallet will get different sidechain IDs with high probability if there's more than 2-3 transactions in mempool.
2 years ago
SChernykh
d8bb85a1d8
Fix: api didn't always save total hashes
2 years ago
SChernykh
fd6b2360aa
Fix: uv_close was called from wrong thread
2 years ago
SChernykh
3e655961e9
Merge pull request #206 from SChernykh/reduce_memory
...
Reduced memory usage
2 years ago
SChernykh
077837054b
Optimized TxOutput struct
2 years ago
SChernykh
45674ef554
Better cache cleanup
2 years ago
SChernykh
eabf856dbd
Removed redundant m_sideChainData
2 years ago
SChernykh
32ea0f2cf6
Clear crypto cache more often
2 years ago
SChernykh
6a66615f37
Removed redundant m_mainChainData
2 years ago
SChernykh
314a1ba39b
p2pool v2.4
2 years ago
SChernykh
2daa7f9fea
Fixed memory leak
2 years ago
SChernykh
f0d576e1b0
Reduced memory usage for each PoolBlock
2 years ago
SChernykh
7468af0779
TCPServer: fix incoming connection counting
2 years ago
SChernykh
38a6d3e549
Limit max in/out peers to 450
...
To avoid hitting default open files limit (1024)
2 years ago
SChernykh
b81f1c4975
Require monerod v0.18
2 years ago
SChernykh
ed78e9df6e
More reliable file load/save
2 years ago
SChernykh
f044149004
P2PServer fix: reset ping time on disconnect
2 years ago
SChernykh
f126eb7611
P2PServer: added more logging
2 years ago
SChernykh
afa9cf371e
P2PServer: sync from the fastest peer if possible
2 years ago
SChernykh
f813cf6d36
Fix: possible use after free on shutdown
...
Console commands could access destroyed objects
2 years ago
SChernykh
d80a06bc8e
Added more error logging
2 years ago
SChernykh
947178f10a
StratumServer: improved warning message
2 years ago
SChernykh
e92cc7d50c
Fix: don't use proxy for incoming connections
2 years ago
SChernykh
989a28a8ca
TCPServer small fixes
2 years ago
SChernykh
e4dd46b498
Added `--no-dns` command line parameter
2 years ago
SChernykh
c49e8d4770
Merge branch 'proxy'
2 years ago
SChernykh
86156f3fec
SOCKS5 proxy support
2 years ago
SChernykh
fec826b10e
Changed spammy warning to level 5
2 years ago
SChernykh
d40bb61da8
p2pool v2.3
2 years ago
SChernykh
4733d42932
TCPServer: more informative error messages
2 years ago
SChernykh
6615fa67f5
API: fixed error messages
2 years ago
SChernykh
dc4b88d08e
API: use unique temp file names
2 years ago
SChernykh
4599d81a59
API: save to temp file first and then rename it
2 years ago
SChernykh
3ea5b575b7
JSON RPC: added more error checks
2 years ago
SChernykh
bde5b19c77
CI: added sync test
2 years ago
SChernykh
cc60ab3d63
StratumServer: added scoring system for clients
...
Ban clients only after a few bad shares without good shares compensating them.
2 years ago
SChernykh
3802886722
Fixed "unknown command" message
2 years ago
SChernykh
d4e27a27cb
Tweaked SideChain::get_missing_blocks()
2 years ago
SChernykh
e882b91b06
Reduced lock contention in Cache::get_derivation()
2 years ago
SChernykh
4c8dbee79d
More fine-grained locks in crypto cache
2 years ago
SChernykh
30861bbf91
Speedup SideChain::get_outputs_blob()
2 years ago
SChernykh
ea6a19a260
Fixed data race
2 years ago
SChernykh
fc81fa8745
JSON RPC: added more error checking
2 years ago
SChernykh
948436e57e
Fixed coverity issue
2 years ago
SChernykh
3dde71f1ff
Fixed processing of long console commands
2 years ago
SChernykh
555414cd51
SideChain: improved precalculation coverage
2 years ago
SChernykh
c33033b2f4
Code cleanup
2 years ago
SChernykh
3c697c2d7e
Fixed potential deadlock
...
Can't lock `m_minerLock` inside SideChain update
2 years ago
SChernykh
0e7c1aa481
SideChain: stricter checks for number of threads
2 years ago
SChernykh
7d5ff13f75
Fixed cppcheck warnings
2 years ago
SChernykh
02a8a512dc
SideChain: precalculate tx pubkeys for faster sync
2 years ago
SChernykh
4733f46a28
Added uv_cond_init_checked
2 years ago
SChernykh
945de348f3
Rewrote get_view_tag without std::find_if
2 years ago
SChernykh
20dd9d7adc
More efficient view tags caching
2 years ago
SChernykh
c5bd184bbc
P2PServer: don't deserialize the same block twice
2 years ago
SChernykh
1c33cc9f3d
p2pool v2.2.1
2 years ago
SChernykh
9d692d5194
ConsoleCommands: check if console is available
2 years ago
SChernykh
2e4f7adee4
TCPServer: added more checks during disconnects
2 years ago
SChernykh
dcb822f812
ConsoleCommands: read from stdin using libuv
2 years ago
SChernykh
5da286fed4
JSON RPC: added HTTP headers
2 years ago
SChernykh
4ec0fe8d96
Fixed JSON RPC handling during shutdown
2 years ago