Commit Graph

730 Commits (master)

Author SHA1 Message Date
SChernykh 51a075c0df P2PServer: fixed buf_size checks
1 year ago
SChernykh 8bf045974f BlockTemplate code refactoring
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
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
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`
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
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
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
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`
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
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
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
1 year ago
SChernykh 632f3faac5 Refactored keccak interface
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
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
2 years ago
SChernykh 220c6939b1 Ignore shares from peers who have lagging monerod
2 years 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"
2 years ago
SChernykh 530079b8a5 Broadcast uncle blocks at the same height
2 years ago
SChernykh 2ca428bbbb BlockTemplate: non-ambiguous transaction order
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
2 years ago
SChernykh 47ff7e228e Added code to deserialize compact blobs
2 years ago
SChernykh c135787620 Prepare compact blob for block broadcasts
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
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
2 years ago
SChernykh 02405bb8ff Workaround for duplicate sidechain IDs
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
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
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
2 years ago