aboutsummaryrefslogtreecommitdiff
path: root/src/version.h
Commit message (Collapse)AuthorAgeFilesLines
* Annotate work to be done to Dogecoin-ifyRoss Nicoll2018-09-191-0/+2
|
* Replace consensus values with Dogecoin equivalentsRoss Nicoll2018-09-191-1/+1
| | | | | | | * Replace chain parameters with Dogecoin values * Update maximum coins to match Dogecoin * Disable version 2 block requirement * Update coinbase maturity to match Dogecoin
* Increment MIT Licence copyright header year on files modified in 2016isle29832016-12-311-1/+1
| | | | | | Edited via: $ contrib/devtools/copyright_header.py update .
* Bump the protocol version to distinguish new banning behavior.Suhas Daftuar2016-11-031-1/+4
| | | | | | This allows future software that would relay compact blocks before full validation to announce only to peers that will not ban if the block turns out to be invalid.
* version.h: s/shord/short/ in commentWladimir J. van der Laan2016-10-041-1/+1
|
* Add protocol messages for short-ids blocksMatt Corallo2016-06-191-1/+4
|
* Implement "feefilter" P2P message.Alex Morcos2016-03-211-1/+4
| | | | The "feefilter" p2p message is used to inform other nodes of your mempool min fee which is the feerate that any new transaction must meet to be accepted to your mempool. This will allow them to filter invs to you according to this feerate.
* remove unused NOBLKS_VERSION_{START,END} constantsPavel Vasin2016-03-091-4/+0
|
* Allow block announcements with headersSuhas Daftuar2015-11-291-1/+4
| | | | | | | | | | | | | | | | | | | This replaces using inv messages to announce new blocks, when a peer requests (via the new "sendheaders" message) that blocks be announced with headers instead of inv's. Since headers-first was introduced, peers send getheaders messages in response to an inv, which requires generating a block locator that is large compared to the size of the header being requested, and requires an extra round-trip before a reorg can be relayed. Save time by tracking headers that a peer is likely to know about, and send a headers chain that would connect to a peer's known headers, unless the chain would be too big, in which case we revert to sending an inv instead. Based off of @sipa's commit to announce all blocks in a reorg via inv, which has been squashed into this commit. Rebased-by: Pieter Wuille
* Add NODE_BLOOM service bit and bump protocol versionMatt Corallo2015-09-051-1/+4
| | | | | | | | | | | | | | | | Lets nodes advertise that they offer bloom filter support explicitly. The protocol version bump allows SPV nodes to assume that NODE_BLOOM is set if NODE_NETWORK is set for pre-70011 nodes. Also adds an option to turn bloom filter support off for nodes which advertise a version number >= 70011. Nodes attempting to use bloom filters on such protocol versions are banned, and a later upgade should drop nodes of an older version which attempt to use bloom filters. Much code stolen from Peter Todd. Implements BIP 111
* Added "Core" to copyright headerssandakersmann2014-12-191-1/+1
| | | | | Github-Pull: #5494 Rebased-From: 15de949bb9277e442302bdd8dee299a8d6deee60
* Update comments in version to be doxygen compatibleMichael Ford2014-10-311-13/+13
|
* Separate protocol versioning from clientversionCory Fields2014-10-291-22/+0
|
* Headers-first synchronizationPieter Wuille2014-10-141-1/+4
| | | | | | | | | | | | | | | Many changes: * Do not use 'getblocks', but 'getheaders', and use it to build a headers tree. * Blocks are fetched in parallel from all available outbound peers, using a limited moving window. When one peer stalls the movement of the window, it is disconnected. * No more orphan blocks. At all. We only ever request a block for which we have verified the headers, and store it to disk immediately. This means that a disk-fill attack would require PoW. * Require protocol version 31800 for every peer (released in december 2010). * No more syncnode (we sync from everyone we can, though limited to 1 during initial *headers* sync). * Introduce some extra named constants, comments and asserts.
* add missing header end commentsPhilip Kaufmann2014-08-281-1/+2
| | | | | | - ensures a consistent usage in header files - also add a blank line after the copyright header where missing - also remove orphan new-lines at the end of some files
* Revert "Add a getutxos command to the p2p protocol. It allows querying of ↵Wladimir J. van der Laan2014-08-271-1/+1
| | | | | | the UTXO set" This reverts commit da2ec100f3681176f60dec6dc675fc64147ade3a.
* Move `*Version()` functions to version.h/cppWladimir J. van der Laan2014-08-261-0/+4
|
* Add a getutxos command to the p2p protocol. It allows querying of the UTXO setMike Hearn2014-08-111-1/+1
| | | | given a set of outpoints.
* Fix typos in comments (missing i's).paveljanik2014-07-241-2/+2
|
* Bump protocol version to 70002Gavin Andresen2013-11-111-1/+1
|
* Cleanup code using forward declarations.Brandon Dahler2013-11-101-0/+1
| | | | | | | | | Use misc methods of avoiding unnecesary header includes. Replace int typedefs with int##_t from stdint.h. Replace PRI64[xdu] with PRI[xdu]64 from inttypes.h. Normalize QT_VERSION ifs where possible. Resolve some indirect dependencies as direct ones. Remove extern declarations from .cpp files.
* Split MIN_PROTO_VERSION into INIT_PROTO_VERSION and MIN_PEER_PROTO_VERSIONWarren Togami2013-10-251-2/+5
| | | | | INIT_PROTO_VERSION is the initial version, after a succesful version/verack it is increased to a negotiated version. MIN_PEER_PROTO_VERSION could be a different value to disconnect from peers older than a specified version.
* Bump PROTOCOL_VERSION for filter messages.Matt Corallo2013-01-161-1/+1
|
* Bitcoin-Qt (Windows only): add version info to Resource FilePhilip Kaufmann2012-09-071-7/+2
| | | | | | | | | | | | | | | | | - add version information to bitcoin-qt.rc, which is displayed on Windows, when looking in the executable properties and selecting "Details" - introduce a new clientversion.h (used in bitcoin-qt.rc to generate version information), which takes only the version defines from version.h and is included in it (to allow usage with the windres rc-file compiler) - move #define STRINGIFY(s) #s into clientversion.h as that is used in bitcoin-qt.rc and rename to DO_STRINGIZE(X) - add #define STRINGIZE(X) DO_STRINGIZE(X), which is needed to convert the version defines into a version string in the rc-file - this ensures we only need to update 1 file and have bitcoin-qt.exe version information - for RC-file documentation see: http://msdn.microsoft.com/en-us/library/windows/desktop/aa381058%28v=vs.85%29.aspx
* Bump version number for 0.7.0rc2v0.7.0rc2Gavin Andresen2012-09-051-1/+1
|
* Version numbers -> 0.7.0Gavin Andresen2012-08-271-2/+2
|
* Merge pull request #1641 from jgarzik/mempoolJeff Garzik2012-08-201-1/+4
|\ | | | | Add 'mempool' P2P command, and extend 'getdata' behavior
| * Add 'mempool' P2P command, and extend 'getdata' behaviorJeff Garzik2012-07-311-1/+4
| | | | | | | | to permit downloading of mempool transactions from the remote peer.
* | Bugfix: Correct English grammar regarding "'s"Luke Dashjr2012-08-011-1/+1
|/
* Update License in File HeadersFordy2012-05-181-1/+1
| | | | | | I originally created a pull to replace the "COPYING" in crypter.cpp and crypter.h, but it turned out that COPYING was actually the correct file.
* Fix version numbers of archive buildsPieter Wuille2012-05-111-4/+5
|
* Increase client version to 0.6.99Gregory Maxwell2012-05-081-2/+2
|
* Bump version numbers for 0.6.1rc2v0.6.1Gavin Andresen2012-05-041-1/+1
|
* Bump version numbers for 0.6.1rc1Gavin Andresen2012-04-271-2/+2
|
* Bump PROTOCOL_VERSION to 60001, thereby enabling BIP31Jeff Garzik2012-04-171-1/+1
|
* Replace several network protocol version numbers with named constantsJeff Garzik2012-04-121-0/+11
| | | | | | | stored in version.h. Also, a minor CAddress code reformat while we're in there, fixing some incorrect indentation.
* version.h: separate client, net sections. Move more constants to this file.Jeff Garzik2012-04-121-2/+22
| | | | | | | | * move PROTOCOL_VERSION to version.h * move CLIENT_VERSION* to version.h, make available past cpp stage * clearly separate client, network version portions of version.h
* BIP 0031: pong messageJeff Garzik2012-04-121-0/+3
| | | | | | | | | | | Add a pong message that is sent in reply to a ping. It echoes back a nonce field that is now added to the ping message. Send a nonce of zero in ping messages. Original author: Mike Hearn @ Google Modified Mike's change to introduce a mild form of protocol documentation in version.h.
* Build identification stringsPieter Wuille2012-04-101-0/+14
All client version information is moved to version.cpp, which optionally (-DHAVE_BUILD_INFO) includes build.h. build.h is automatically generated on supporting platforms via contrib/genbuild.sh, using git describe. The git export-subst attribute is used to put the commit id statically in version.cpp inside generated archives, and this value is used if no build.h is present. The gitian descriptors are modified to use git archive instead of a copy, to create the src/ directory in the output. This way, src/src/version.cpp will contain the static commit id. To prevent gitian builds from getting the "-dirty" marker in their git-describe generated identifiers, no touching of files or running sed on the makefile is performed anymore. This does not seem to influence determinism.