SChernykh
|
e5bf27030d
|
Rate limit peer list requests
Send an empty response if the request comes too soon
|
11 months ago |
SChernykh
|
375bf56e2e
|
Fixed null characters in `print_hosts` output
|
11 months ago |
SChernykh
|
f79be1b343
|
Removed unnecessary lock
|
11 months ago |
SChernykh
|
3554adf0c1
|
Refactored string conversions
Use `log::Stream` everywhere
|
11 months ago |
SChernykh
|
3759fd4ac4
|
Code cleanup
|
11 months ago |
SChernykh
|
1c7646f98f
|
ZMQReader: make sure monitor always shuts down
|
11 months ago |
SChernykh
|
1b9d14e89d
|
Get ping times for all hosts
|
11 months ago |
SChernykh
|
a9a2113ea4
|
Code cleanup
|
11 months ago |
SChernykh
|
b5fa34e1a1
|
Added support for multiple Monero hosts
Switch to the next host in list when P2Pool thinks current host is stuck or lagging
|
11 months ago |
SChernykh
|
30560e6cf8
|
CI: use compile command database for clang-tidy
|
11 months ago |
SChernykh
|
8b4f05dc78
|
CI: added clang-tidy
|
11 months ago |
SChernykh
|
950330b5f7
|
SideChain: recover from incorrect PoW calculation
|
11 months ago |
SChernykh
|
9927718e25
|
Tweaked cppcheck command line
|
11 months ago |
SChernykh
|
b7ff4f2c2c
|
Set default JSON parser flags
|
11 months ago |
SChernykh
|
47c79459a6
|
Fixed `get_miner_data` error handling
Second call was a no-op because of `m_getMinerDataPending`
|
12 months ago |
SChernykh
|
143960937e
|
p2pool v3.4
|
12 months ago |
SChernykh
|
ee16ce10c1
|
Tweaked `block_seen` logic
|
12 months ago |
SChernykh
|
738b2e416e
|
ZMQ: log internal listening port
|
12 months ago |
SChernykh
|
b96dfa602b
|
ZMQ: use random port for internal use
|
12 months ago |
SChernykh
|
9d6f232dd1
|
Tweaked `block_seen` logic
|
12 months ago |
SChernykh
|
183bab110e
|
Refactored log writer
|
1 year ago |
SChernykh
|
beea3e2184
|
Fixed cppcheck error
|
1 year ago |
SChernykh
|
e0a3add5f2
|
Refactored is_localhost()
|
1 year ago |
SChernykh
|
2cdb8b5323
|
P2PServer: fixed use after free on shutdown
|
1 year ago |
SChernykh
|
3d526cebbc
|
Enabled MemorySanitizer
|
1 year ago |
SChernykh
|
5f7ce28682
|
TCPServer: fixed send callback arguments
|
1 year ago |
SChernykh
|
3fdadf3eb5
|
Fixed cppcheck errors
|
1 year ago |
SChernykh
|
cd57ab6ad9
|
Fixed `UV_THREADPOOL_SIZE` setting
putenv can't use stack buffer
|
1 year ago |
SChernykh
|
eab8a51bb7
|
SideChain: tweaked `m_seenBlocks` cleanup logic
|
1 year ago |
SChernykh
|
dbb4efb98a
|
Added `version` console command
|
1 year ago |
SChernykh
|
a83d6deec1
|
Check node ping at startup
|
1 year ago |
SChernykh
|
f212de64f5
|
P2PServer: fixed peer list request logic
|
1 year ago |
SChernykh
|
6a4583f758
|
Sync test: keep running for 2 minutes more
|
1 year ago |
SChernykh
|
325f2dc22f
|
Sync test: run with TSAN on Ubuntu
|
1 year ago |
SChernykh
|
b20db0a117
|
P2PServer: always send peer list request to new peers
|
1 year ago |
SChernykh
|
3c7fcf65a9
|
Fixed DNS TXT parsing
|
1 year ago |
SChernykh
|
4fa344a0f7
|
Refactored DNS TXT resolver code
|
1 year ago |
SChernykh
|
bba4f8d0c5
|
Fixed headers for res_query
|
1 year ago |
SChernykh
|
be8b38e5cf
|
Changed BLOCK_FOUND wording
|
1 year ago |
SChernykh
|
db9e5ba332
|
P2PServer: prefer DNS TXT records to load seed nodes
|
1 year ago |
SChernykh
|
689fa14cfd
|
Fixed cppcheck errors
|
1 year ago |
SChernykh
|
8a222d5e75
|
TCPServer: check if loop thread is running before waiting for it
|
1 year ago |
SChernykh
|
fcb62894a5
|
p2pool v3.3
|
1 year ago |
SChernykh
|
c94b627808
|
TCPServer: use /64 prefix to ban IPv6 peers
|
1 year ago |
SChernykh
|
98b2d2057c
|
SideChain: fixed data race
|
1 year ago |
SChernykh
|
98a9eb4f18
|
Console: fixed data race
|
1 year ago |
SChernykh
|
76c3e89faf
|
StratumServer: update api more often
|
1 year ago |
SChernykh
|
abf48fde02
|
Stratum API: added block reward share percent
|
1 year ago |
SChernykh
|
b498084388
|
SideChain: fixed a rare sync bug
P2Pool could fail to sync if uncles of depth 3 were present at a certain depth in the chain
|
1 year ago |
SChernykh
|
75c156578c
|
SideChain: tweaked precalculation during sync
|
1 year ago |
SChernykh
|
51a075c0df
|
P2PServer: fixed buf_size checks
|
1 year ago |
SChernykh
|
8bf045974f
|
BlockTemplate code refactoring
- Moved block constants to one place
- Tuned block template max transaction limiter
|
1 year ago |
SChernykh
|
44d2005ab1
|
Console: returned stdin check to constructor
|
1 year ago |
SChernykh
|
5f18eed14d
|
Fixed compilation error
|
1 year ago |
SChernykh
|
7a83fd2f30
|
Console: check stdin handle early at startup
|
1 year ago |
SChernykh
|
6e258bb210
|
Refactored TCPServer to reduce code duplication
|
1 year ago |
SChernykh
|
72adfd3126
|
Console: added local api
|
1 year ago |
SChernykh
|
196b27f3b2
|
Console: read commands via localhost TCP
|
1 year ago |
SChernykh
|
14ab9f462a
|
Fixed command line parsing
|
1 year ago |
SChernykh
|
93365973a7
|
Merge pull request #253 from hinto-janai/master
Add `--version`
|
1 year ago |
hinto.janai
|
950ecd6bbc
|
add `--version`
|
1 year ago |
SChernykh
|
8420f5f1b1
|
TCPServer: reduced write buffer reallocations
|
1 year ago |
SChernykh
|
6ef166ba33
|
Fixed cppcheck errors
|
1 year ago |
SChernykh
|
2d76846d3c
|
Removed unused <iostream>
|
1 year ago |
SChernykh
|
f6cc7abac9
|
Fixed cppcheck error
|
1 year ago |
SChernykh
|
92827035e0
|
p2pool v3.2
|
1 year ago |
SChernykh
|
5f7b8c3371
|
Fixed cppcheck false positives
|
1 year ago |
SChernykh
|
03eddddc0e
|
Cache: save data from previous Monero block too
To improve caching of stale/outdated sidechain blocks.
|
1 year ago |
SChernykh
|
080fbaa26c
|
Util: adder PerfTimer
|
1 year ago |
SChernykh
|
f6a285de87
|
API: added PPLNS window size to pool stats
|
1 year ago |
SChernykh
|
55e4ea0277
|
API: added sidechain diff and height to pool stats
|
1 year ago |
SChernykh
|
bb80fe12a0
|
Added a check for unstable hardware
|
1 year ago |
SChernykh
|
5c67f0df20
|
P2PServer: truncate too long peers list in api
|
1 year ago |
SChernykh
|
3697c079fa
|
Fixed cppcheck error
|
1 year ago |
SChernykh
|
2e6041dcf5
|
P2PServer: add local api data
|
1 year ago |
SChernykh
|
645de31fe3
|
SideChain: stricter checks in `get_difficulty`
|
1 year ago |
SChernykh
|
eef90da7ae
|
SideChain: stricter checks of alternative chains
|
1 year ago |
SChernykh
|
c0586a5089
|
Added `--no-igd` as an alias for `--no-upnp`
For compatibility with monerod command line parameters
|
1 year ago |
SChernykh
|
b30018bb38
|
SideChain::update_depths() - reduced log level
|
1 year ago |
SChernykh
|
6c45573976
|
Faster block verification
|
1 year ago |
SChernykh
|
b6c1b1a6d7
|
P2PServer: log time it took to relay a block
|
1 year ago |
SChernykh
|
d41a441e98
|
UPnP: remove port mapping on shutdown
|
1 year ago |
SChernykh
|
86b6cf2d65
|
UPnP: handle port mapping conflicts
|
1 year ago |
SChernykh
|
fe7ef30650
|
Don't port forward Stratum port by default
Added a command line parameter to enable it
|
1 year ago |
SChernykh
|
bb4c7f0298
|
Run UPnP discovery in the background
|
1 year ago |
SChernykh
|
a7db46d69b
|
Fixed command line help output
|
1 year ago |
SChernykh
|
d4a57370ef
|
Disable cmd params depending on compile flags
|
1 year ago |
SChernykh
|
19cc044cab
|
Added UPnP port forwarding
|
1 year ago |
SChernykh
|
c2d8c806d2
|
Removed fork code, only v2 is left
|
1 year ago |
SChernykh
|
de7bdba95f
|
TCPServer: don't spam logs with 127.0.0.1 bans
|
1 year ago |
SChernykh
|
6baf5247cb
|
Fixed `parallel_run` logic on single CPU systems
|
1 year ago |
SChernykh
|
146d29b627
|
Don't let user connect to a node without ZMQ
|
1 year ago |
SChernykh
|
c1a1249be1
|
Code cleanup
|
1 year ago |
SChernykh
|
8e7a797586
|
Merge pull request #238 from twlee79/feature/namedpipe
Allow named pipe as stdin
|
1 year ago |
T W Lee
|
3df7430663
|
allow named pipe as stdin, fixes after review
|
1 year ago |
T W Lee
|
c71d89c95a
|
allow named pipe as stdin
|
1 year ago |
SChernykh
|
1b5860eec8
|
Fixed cppcheck errors
|
1 year ago |
SChernykh
|
4741880044
|
StratumServer: added address sanitizer checks
|
1 year ago |
SChernykh
|
02a0cb174a
|
StratumServer: show a warning for invalid shares
|
1 year ago |
SChernykh
|
e53fd7a062
|
Tests: fixed block_template test volatility
Hashes should stay the same from now on.
|
1 year ago |
SChernykh
|
a76d8049c0
|
p2pool v3.1
|
1 year ago |
SChernykh
|
0ce1558f54
|
Fixed data races
|
1 year ago |
SChernykh
|
2807f9a51c
|
TCPServer: disabled debug check in release builds
|
1 year ago |
SChernykh
|
03a3423da0
|
StratumServer: fixed data race
|
1 year ago |
SChernykh
|
12a011a9ff
|
TCPServer: removed unnecessary mutex
|
1 year ago |
SChernykh
|
7a1afc7a95
|
Fixed cppcheck error
|
1 year ago |
SChernykh
|
fadc5055b2
|
Updated `--no-autodiff` description
|
1 year ago |
SChernykh
|
1c908c261d
|
TCPServer: refactored memory allocation
|
1 year ago |
SChernykh
|
39216df8eb
|
CI: added openbsd build
|
1 year ago |
SChernykh
|
ed59579a9d
|
Don't reset `m_cumulativeFoundSharesDiff`
|
1 year ago |
SChernykh
|
2aa7389c3f
|
Fix: never reset `m_cumulativeHashes`
Hashrates in stratum status can be wrong if `m_cumulativeHashes` decreases.
|
1 year ago |
SChernykh
|
e64a0acfb3
|
p2pool v3.0
|
1 year ago |
SChernykh
|
1cfacf4118
|
Code cleanup and fixes
|
1 year ago |
SChernykh
|
975679ef87
|
Show actual worker difficulty in `workers` command
|
1 year ago |
SChernykh
|
25d083ef25
|
Show Monero node in `status`
|
1 year ago |
SChernykh
|
c7ba11c607
|
Retry `getaddrinfo` with IPv4 only after an error
|
1 year ago |
SChernykh
|
8876af53d8
|
SideChain: fixed potential division by 0
|
1 year ago |
SChernykh
|
33a592ee52
|
Fixed v2 signaling
|
1 year ago |
SChernykh
|
a574e68bb7
|
StratumServer: check for bans before checking shares
|
1 year ago |
SChernykh
|
001c9e937d
|
Fixed use of destroyed object
|
1 year ago |
SChernykh
|
f01bd88edd
|
Fixed PPLNS window calculation
|
1 year ago |
SChernykh
|
8700edb330
|
Miner: added m_sharesFailed to api data
|
1 year ago |
SChernykh
|
9b686673ae
|
Fixed m_sharesFailed initialization
|
1 year ago |
SChernykh
|
c841a2d2a9
|
Set new testnet hardfork date
|
1 year ago |
SChernykh
|
5e373b5304
|
Miner: count failed shares
|
1 year ago |
SChernykh
|
d332f6cf23
|
Fixed PPLNS window display in status
|
1 year ago |
SChernykh
|
1c4806e0d7
|
Fixed m_txkeySecSeed in block template update
|
1 year ago |
SChernykh
|
f5ac485ac8
|
TCPServer: optimized internal write buffers
|
1 year ago |
SChernykh
|
595196b5ec
|
Reduced transaction time-to-include delay
Based on data from https://rucknium.me/posts/monero-pool-transaction-delay/
> 95 percent all transactions arrived at all five Monero nodes within a five-second interval.
|
1 year ago |
SChernykh
|
85d177d394
|
Miner: update extra_nonce on each new block
|
1 year ago |
SChernykh
|
4ee8890166
|
Fixed `status` command output
|
1 year ago |
SChernykh
|
5e8858c40e
|
Fixed warning level
|
1 year ago |
SChernykh
|
420cb71990
|
Fixed min difficulty setting
|
1 year ago |
SChernykh
|
451778d704
|
Optimized RNG usage
|
1 year ago |
SChernykh
|
c855bb769a
|
PoolBlock: removed unnecessary mutex
|
1 year ago |
SChernykh
|
f95d56d1eb
|
Fixed wrong type in uv_walk
|
1 year ago |
SChernykh
|
fe5e209eb1
|
Don't limit min difficulty on testnet
|
1 year ago |
SChernykh
|
f206e4b334
|
Testnet fork on January 21st
|
1 year ago |
SChernykh
|
5bd518da4b
|
Optimized BlockTemplate::update()
|
1 year ago |
SChernykh
|
ec8e40907d
|
Fixed a crash in `status` command
|
1 year ago |
SChernykh
|
e828709090
|
Optimized SideChain::get_outputs_blob()
|
1 year ago |
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 |