You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

version.h 1.6KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. // Copyright (c) 2012-2016 The Starwels developers
  2. // Distributed under the MIT software license, see the accompanying
  3. // file COPYING or http://www.opensource.org/licenses/mit-license.php.
  4. #ifndef STARWELS_VERSION_H
  5. #define STARWELS_VERSION_H
  6. /**
  7. * network protocol versioning
  8. */
  9. static const int PROTOCOL_VERSION = 70015;
  10. //! initial proto version, to be increased after version/verack negotiation
  11. static const int INIT_PROTO_VERSION = 209;
  12. //! In this version, 'getheaders' was introduced.
  13. static const int GETHEADERS_VERSION = 31800;
  14. //! disconnect from peers older than this proto version
  15. static const int MIN_PEER_PROTO_VERSION = GETHEADERS_VERSION;
  16. //! nTime field added to CAddress, starting with this version;
  17. //! if possible, avoid requesting addresses nodes older than this
  18. static const int CADDR_TIME_VERSION = 31402;
  19. //! BIP 0031, pong message, is enabled for all versions AFTER this one
  20. static const int BIP0031_VERSION = 60000;
  21. //! "filter*" commands are disabled without NODE_BLOOM after and including this version
  22. static const int NO_BLOOM_VERSION = 70011;
  23. //! "sendheaders" command and announcing blocks with headers starts with this version
  24. static const int SENDHEADERS_VERSION = 70012;
  25. //! "feefilter" tells peers to filter invs to you by fee starts with this version
  26. static const int FEEFILTER_VERSION = 70013;
  27. //! short-id-based block download starts with this version
  28. static const int SHORT_IDS_BLOCKS_VERSION = 70014;
  29. //! not banning for invalid compact blocks starts with this version
  30. static const int INVALID_CB_NO_BAN_VERSION = 70015;
  31. #endif // STARWELS_VERSION_H