fbd931a392
- BIP 31 ping/pong with 2-min heartbeat, RTT tracking, 3-miss disconnect - Reduce max outbound from 16 to 8, add -maxoutbound flag - Emergency reconnection: 15s re-seed when 0 peers, 30s when 1 peer - Inactivity timeout reduced from 90min to 10min (dead peer detection) - Header sync TTL extended from 5min to 15min for Tor latency - Reserve 2 inbound slots for known seed nodes at capacity - Enhanced address gossip: hourly rebroadcast, getaddr from all peers - New getnetworkstability RPC with isolation risk assessment - getpeerinfo now includes pingtime, blocksdelivered, avglatency Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
20 lines
529 B
C
20 lines
529 B
C
#ifndef CLIENTVERSION_H
|
|
#define CLIENTVERSION_H
|
|
|
|
//
|
|
// client versioning
|
|
//
|
|
|
|
// These need to be macros, as version.cpp's and triangles-qt.rc's voodoo requires it
|
|
#define CLIENT_VERSION_MAJOR 5
|
|
#define CLIENT_VERSION_MINOR 9
|
|
#define CLIENT_VERSION_REVISION 0
|
|
#define CLIENT_VERSION_BUILD 0
|
|
|
|
// Converts the parameter X to a string after macro replacement on X has been performed.
|
|
// Don't merge these into one macro!
|
|
#define STRINGIZE(X) DO_STRINGIZE(X)
|
|
#define DO_STRINGIZE(X) #X
|
|
|
|
#endif // CLIENTVERSION_H
|