update firmwear #15261

pull ghost wants to merge 784 commits into bitcoin:master from zetacoin:master changing 433 files +45176 −7411
  1. ghost commented at 4:23 PM on January 25, 2019: none

    Coin is dying

  2. Do not store witness txn in rejection cache
    Github-Pull: #8525
    Rebased-From: 34521e4d7d176109dedf52ec8ef2b5052b9a30f3
    1672225670
  3. Add basic test for IsStandard witness transaction blinding
    Github-Pull: #8525
    Rebased-From: ca10a03addf70421893791c2c499e82fc494d60b
    b394a96396
  4. Remove createwitnessaddress
    This RPC command is unsafe as it will return an address even if the script is invalid.
    
    Github-Pull: #8699
    Rebased-From: 86c3f8db0bf64693313a81d5fe92ef603499030a
    a5ec248323
  5. Remove maxuploadtargets recommended minimum
    Github-Pull: #8712
    Rebased-From: 1b6bcdd3aa379a50c960e23d7c55db8294e76f7f
    23feab1f38
  6. Allow changing BIP9 parameters on regtest
    Github-Pull: #8418
    Rebased-From: 56c87e92110f05d7452f1e85bf755246ffc77206
    198494ce53
  7. Implement SipHash in Python
    Github-Pull: #8418
    Rebased-From: 9c8593d2b4e25ef628172ceadbedf0ef078d01ef
    ff893aa557
  8. Tests: refactor compact size serialization in mininode
    Github-Pull: #8418
    Rebased-From: a8689fdf8e10300b73750161a73a23467ecd1efe
    4295a7aea5
  9. Add support for compactblocks to mininode
    Github-Pull: #8418
    Rebased-From: 9a22a6c0891256f02f4906c1c13fb22a9722ec7c
    f6be478b0a
  10. Add p2p test for BIP 152 (compact blocks)
    Github-Pull: #8418
    Rebased-From: 45c7ddd109465e03551f5b39c2e650c243b4a078
    fb8706ebd7
  11. Fix broken sendcmpct test in p2p-compactblocks.py
    Python lambda use was incorrect.
    
    sendcmpct messages need to be synchronized with RPC calls to generate().
    
    Headers need to be synced (eg with getheaders) for cmpctblock announcements
    to start.
    
    Last test omitted sending a sendcmpct message.
    
    Github-Pull: #8739
    Rebased-From: 157254a4bfdfc4ca3ad5bf2d84e82f290bd0c7f2)
    cef633ce63
  12. Implement NULLDUMMY softfork
    Github-Pull: #8636
    Rebased-From: 482f852da65457eb2fbea6b259e7568133fb81c4
    9dfa0c8d90
  13. Merge #8815: Backports for 0.13.1
    9dfa0c8 Implement NULLDUMMY softfork (Johnson Lau)
    cef633c Fix broken sendcmpct test in p2p-compactblocks.py (Suhas Daftuar)
    fb8706e Add p2p test for BIP 152 (compact blocks) (Suhas Daftuar)
    f6be478 Add support for compactblocks to mininode (Suhas Daftuar)
    4295a7a Tests: refactor compact size serialization in mininode (Suhas Daftuar)
    ff893aa Implement SipHash in Python (Pieter Wuille)
    198494c Allow changing BIP9 parameters on regtest (Suhas Daftuar)
    23feab1 Remove maxuploadtargets recommended minimum (Jonas Schnelli)
    a5ec248 Remove createwitnessaddress (Johnson Lau)
    b394a96 Add basic test for IsStandard witness transaction blinding (instagibbs)
    1672225 Do not store witness txn in rejection cache (Pieter Wuille)
    a916677ace
  14. Ping regularly in p2p-segwit.py to keep connection alive
    This pings regularly while building a big block in p2p-segwit.py, to prevent timeout
    
    Github-Pull: #8803
    Rebased-From: 0637b02fce04c800acc6747687c91c9b22f642e5
    375437c26b
  15. [qa] Split up slow RPC calls to avoid pruning test timeouts
    Github-Pull: #8827
    Rebased-From: a0f8482f3e9b07e37c3f1b6fa09683b448810955
    9bbe66e592
  16. Add bitcoin-tx JSON tests
    Github-Pull: #8829
    Rebased-From: 54e5d7c1b81e1b76f5789abfa2cb1f5963cd9d72
    2a8bca465d
  17. [Wallet] remove "unused" ThreadFlushWalletDB from removeprunedfunds
    Github-Pull: #8765
    Rebased-From: c6f5ca822f1308983431bf1b3c91f8aaccff51a0
    62886598db
  18. [rpc] throw JSONRPCError when utxo set can not be read
    Github-Pull: #8832
    Rebased-From: fa05cfdf256f3bc13b89ea80231e342f4302d204
    83ad563ade
  19. [qa] blockstore: Switch to dumb dbm
    Github-Pull: #8834
    Rebased-From: fa9cd25ed0587078e3218965606c79ebf8138d53
    1dd1783873
  20. [qa] nulldummy: Don't run unused code
    Github-Pull: #8835
    Rebased-From: fa156c604e7d86d84f7731b05d7530bc91d2736b
    d87227d6d2
  21. bitcoin-util-test.py should fail if the output file is empty
    Github-Pull: #8836
    Rebased-From: da9469770847df56e67e629986129a087b5bd7a5
    eb18cc1272
  22. test: Avoid ConnectionResetErrors during RPC tests
    This is necessary on FreeBSD and MacOSX, at least.
    
    See https://github.com/bitcoin/bitcoin/pull/8834#issuecomment-250450213
    
    Github-Pull: #8839
    Rebased-From: 1d28faf9e94fcf240ece7336d61ec297b064bc37
    31ab2f862a
  23. Fix nulldummy.py test
    Github-Pull: #8841
    Rebased-From: 46a4774d2bb9cc863e43507212ef989fa10d56d4
    3e4abb5025
  24. [qa] Fix race condition in p2p-compactblocks test
    Also fix a bug in the sync_with_ping() helper function
    
    Github-Pull: #8854
    Rebased-From: b5fd666984fdb7125cb809c773b36034f32128cc
    624a007f47
  25. [qa] mininode: Only allow named args in wait_until
    Github-Pull: #8857
    Rebased-From: fa666094cf5b9ac4a7c1732a7ffa001afffcd938
    1f60d45504
  26. [qa] Add getinfo smoke tests and rework versionbits test
    Github-Pull: #8780
    Rebased-From: fa6e71b27d00766897f3e69775d450924a58a153
    794b007896
  27. [qa] util: Move wait_bitcoinds() into stop_nodes()
    Github-Pull: #8860
    Rebased-From: fa7c35c4ec630838178b4674288da33561a66f08
    0bee740845
  28. test: Explicitly set encoding to utf8 when opening text files
    These are text files but their encoding does not depend on the locale.
    Not all of them require utf8 but it is better to fix it at something
    to remove potential unpredictability.
    
    This is necessary on FreeBSD where no locale is set by default,
    and apparently Python defaults not only the terminal encoding to the locale
    but that of every text file. So without LOCALE environment it defaults text
    file encoding to ASCII. This causes problems with e.g. `bitcoin.conf`.
    
    Luckily the locale doesn't affect the default encoding for str.encode() and
    bytes.decode() on Python 3, so this is the only change necessary.
    
    Github-Pull: #8840
    Rebased-From: 30930e847e2483c7c8163cc581b392bc288250e9
    cbc3fe59c4
  29. Bugfix: Trivial: RPC: getblockchaininfo help: pruneheight is the lowest, not highest, block
    Github-Pull: #8884
    Rebased-From: a78e5428acb862bfb47e6faff39f4889f5c73269
    b987348435
  30. [qa] Another attempt to fix race condition in p2p-compactblocks.py
    sync_with_ping() only guarantees that the node has processed messages
    it's received from the peer, not that block announcements from the node have
    made it back to the peer.  Replace sync_with_ping() with an explicit check that
    the node's tip has been announced.
    
    Github-Pull: #8882
    Rebased-From: 6976db2f4687d575e1b4bee5aaf1d93a794f23c3
    b73f0653f3
  31. [qa] Fix race condition in sendheaders.py
    Also de-duplicates code that has been moved to mininode
    
    Github-Pull: #8882
    Rebased-From: b55d9411e7e1aa36ddabba3b942f2e1c736c1bd9
    d6c83b95cf
  32. Fix wake from sleep issue with Boost 1.59.0 49be9f0c88
  33. [Doc] Update bips.md for Segregated Witness
    Github-Pull: #8891
    Rebased-From: ef28d8a899aeb4487ef7fbfbfca9c0f2b60bdaf6
    5e0dd9e07c
  34. Merge #8866: [0.13] Backports
    5e0dd9e [Doc] Update bips.md for Segregated Witness (fanquake)
    d6c83b9 [qa] Fix race condition in sendheaders.py (Suhas Daftuar)
    b73f065 [qa] Another attempt to fix race condition in p2p-compactblocks.py (Suhas Daftuar)
    b987348 Bugfix: Trivial: RPC: getblockchaininfo help: pruneheight is the lowest, not highest, block (Luke Dashjr)
    cbc3fe5 test: Explicitly set encoding to utf8 when opening text files (Wladimir J. van der Laan)
    0bee740 [qa] util: Move wait_bitcoinds() into stop_nodes() (MarcoFalke)
    794b007 [qa] Add getinfo smoke tests and rework versionbits test (MarcoFalke)
    1f60d45 [qa] mininode: Only allow named args in wait_until (MarcoFalke)
    624a007 [qa] Fix race condition in p2p-compactblocks test (Suhas Daftuar)
    3e4abb5 Fix nulldummy.py test (Johnson Lau)
    31ab2f8 test: Avoid ConnectionResetErrors during RPC tests (Wladimir J. van der Laan)
    eb18cc1 bitcoin-util-test.py should fail if the output file is empty (jnewbery)
    d87227d [qa] nulldummy: Don't run unused code (MarcoFalke)
    1dd1783 [qa] blockstore: Switch to dumb dbm (MarcoFalke)
    83ad563 [rpc] throw JSONRPCError when utxo set can not be read (MarcoFalke)
    6288659 [Wallet] remove "unused" ThreadFlushWalletDB from removeprunedfunds (Jonas Schnelli)
    2a8bca4 Add bitcoin-tx JSON tests (jnewbery)
    9bbe66e [qa] Split up slow RPC calls to avoid pruning test timeouts (Suhas Daftuar)
    375437c Ping regularly in p2p-segwit.py to keep connection alive (Johnson Lau)
    94688d8e43
  35. qt: Translate all files, even if wallet disabled
    This passes all QT cpp files to the lupdate executable which extracts
    translations, no matter what conditional functionality is enabled.
    
    Rebased-From: 8aed5f6c23cbaae6bf56be04f2b8d861eacf588d
    Github-Pull: #8911
    7634d8eac4
  36. qt: Periodic translations update
    Added languages:
    
    - `ne` - Niger
    633c4a1f36
  37. Make non-minimal OP_IF/NOTIF argument non-standard for P2WSH
    Github-Pull: #8526
    Rebased-From: c72c5b1e3bd42e84465677e94aa83316ff3d9a14
    0027672c80
  38. Add policy: null signature for failed CHECK(MULTI)SIG
    Github-Pull: #8634
    Rebased-From: e41bd449ab2b8d01260795383af2c40b659d8587
    3e80ab7f2a
  39. net: fix a few cases where messages were sent rather than dropped upon disconnection
    75ead758 turned these into crashes in the event of a handshake failure, most
    notably when a peer does not offer the expected services.
    
    There are likely other cases that these assertions will find as well.
    
    Github-Pull: #8862
    Rebased-From: 905bc68d05595f41cca36b3df83accd10c00cc48
    7ae6242960
  40. Add NULLDUMMY verify flag in bitcoinconsensus.h
    Github-Pull: #8848
    Rebased-From: 2fa0063c26c80c719a1c0d30e548e338689ac917
    7a34a4614c
  41. [qa] Update p2p-compactblocks.py for compactblocks v2
    Github-Pull: #8393
    Rebased-From: 27acfc1d2ee53cc52b54befd2d4bfa24a77a2eef
    e47299a8f2
  42. [qa] Add support for compactblocks v2 to mininode
    Github-Pull: #8393
    Rebased-From: 422fac649f75c907cad6ab7e2768b9032b9eae42
    61e282b62d
  43. [qa] Fix bug in mininode witness deserialization
    Also improve tx printing
    
    Github-Pull: #8393
    Rebased-From: f5b9b8f437c040205896ad0d7a6656efa08b5601
    611cc5096e
  44. Use cmpctblock type 2 for segwit-enabled transfer
    Contains version negotiation logic by Matt Corallo and bugfixes by
    Suhas Daftuar.
    
    Github-Pull: #8393
    Rebased-From: 6aa28abf53ef4694692474b4a3b0a8fa7559b50b
    fe1975a974
  45. Fix overly-prescriptive p2p-segwit test for new fetch logic
    Github-Pull: #8393
    Rebased-From: be7555f0c03057bb5537cc42ca9d4937389f0670
    890ac25638
  46. Use cmpctblock type 2 for segwit-enabled transfer
    Contains version negotiation logic by Matt Corallo and bugfixes by
    Suhas Daftuar.
    
    Github-Pull: #8393
    Rebased-From: 6aa28abf53ef4694692474b4a3b0a8fa7559b50b
    4bb9ce8a95
  47. [qa] Fix compact block shortids for a test case
    Github-Pull: #8904
    Rebased-From: 4cdece40419bcc97345357f9268e03b0aff400b5
    cc6f55191a
  48. Update bitcoin-tx to output witness data.
    Github-Pull: #8817
    Rebased-From: 4408558843c6c2b7abeb4160f641dfdbf5be5eb4
    bcf3806f4c
  49. Merge #8899: [0.13] Fix wake from sleep issue with Boost 1.59.0
    49be9f0 Fix wake from sleep issue with Boost 1.59.0 (Michael Ford)
    4ed2627734
  50. [qa] Send segwit-encoded blocktxn messages in p2p-compactblocks
    Github-Pull: #8916
    Rebased-From: 032e883b937a6b70d5c367fc2ee57d7eea8cb473
    df5069bb0e
  51. [qa] Build v4 blocks in p2p-compactblocktests
    This fixes an issue in backporting to 0.13 as 0.13 enforces SF
    activation by block version lockin instead of through a hard-coded
    block height.
    
    Github-Pull: #8916
    Rebased-From: a4ad37d4ef4bcd81bc9d867b277efdebc86bc2e8
    9bb2a02f0d
  52. Add standard limits for P2WSH with tests
    Github-Pull: #8499
    Rebased-From: 3ade2f64cfe43ab53e4869ffc35d5fd23201e1c1
    540413d995
  53. Require compressed keys in segwit as policy and disable signing with uncompressed keys for segwit scripts
    Github-Pull: #8499
    Rebased-From: 4c0c25a604cec39675187507df423cff5d707ab5
    821f3e6751
  54. Make test framework produce lowS signatures
    Github-Pull: #8499
    Rebased-From: 9f0397aff7afa2afa9328daea0a2053122e79d44
    b4b85279a9
  55. [qa] Add tests for uncompressed pubkeys in segwit
    Github-Pull: #8499
    Rebased-From: b811124202152424109b8e95ebe7ac25ff2e83c0
    908fced296
  56. Fix ismine and addwitnessaddress: no uncompressed keys in segwit
    Github-Pull: #8499
    Rebased-From: 248f3a76a825a332e5495c5947ad283a9e5e938f
    4ec21e8a64
  57. test segwit uncompressed key fixes
    Github-Pull: #8499
    Rebased-From: 9260085377e89e666d0cb95b462261d7e3a9c82f
    fef7b46841
  58. remove redundant tests in p2p-segwit.py
    Github-Pull: #8499
    Rebased-From: 67d6ee1e3679504f46473fe0818970565ff3b137
    9777fe1272
  59. Merge #8916: 0.13.1 backports
    9777fe1 remove redundant tests in p2p-segwit.py (Johnson Lau)
    fef7b46 test segwit uncompressed key fixes (Johnson Lau)
    4ec21e8 Fix ismine and addwitnessaddress: no uncompressed keys in segwit (Pieter Wuille)
    908fced [qa] Add tests for uncompressed pubkeys in segwit (Suhas Daftuar)
    b4b8527 Make test framework produce lowS signatures (Johnson Lau)
    821f3e6 Require compressed keys in segwit as policy and disable signing with uncompressed keys for segwit scripts (Johnson Lau)
    540413d Add standard limits for P2WSH with tests (Johnson Lau)
    9bb2a02 [qa] Build v4 blocks in p2p-compactblocktests (Matt Corallo)
    df5069b [qa] Send segwit-encoded blocktxn messages in p2p-compactblocks (Matt Corallo)
    bcf3806 Update bitcoin-tx to output witness data. (jonnynewbs)
    cc6f551 [qa] Fix compact block shortids for a test case (Dagur Valberg Johannsson)
    4bb9ce8 Use cmpctblock type 2 for segwit-enabled transfer (Matt Corallo)
    890ac25 Fix overly-prescriptive p2p-segwit test for new fetch logic (Matt Corallo)
    fe1975a Use cmpctblock type 2 for segwit-enabled transfer (Pieter Wuille)
    611cc50 [qa] Fix bug in mininode witness deserialization (Suhas Daftuar)
    61e282b [qa] Add support for compactblocks v2 to mininode (Suhas Daftuar)
    e47299a [qa] Update p2p-compactblocks.py for compactblocks v2 (Suhas Daftuar)
    7a34a46 Add NULLDUMMY verify flag in bitcoinconsensus.h (Johnson Lau)
    7ae6242 net: fix a few cases where messages were sent rather than dropped upon disconnection (Cory Fields)
    3e80ab7 Add policy: null signature for failed CHECK(MULTI)SIG (Johnson Lau)
    0027672 Make non-minimal OP_IF/NOTIF argument non-standard for P2WSH (Johnson Lau)
    09bc76de60
  60. qt: periodic translation update cb8887e87d
  61. Define start and end time for segwit deployment
    Github-Pull: #8937
    Rebased-From: f9c23dea976465c51b9fe2cead81b707678c16bb
    8b66659921
  62. doc: Fill in changelog and authors in release notes 7462125724
  63. doc: Properly sort authors list 614ef85ff9
  64. Update implemented bips for 0.13.1
    Github-Pull: #8939
    Rebased-From: 0941f556b7f228517fcb35f8b19926dfd62f481c
    06d15fbea6
  65. [doc] 0.13.1: Minor clarification to release notes fa161e8cc1
  66. Merge #8942: [doc] 0.13.1: Minor clarification to release notes
    fa161e8 [doc] 0.13.1: Minor clarification to release notes (MarcoFalke)
    498e950daa
  67. Comment that most dnsseeds only support some service bits combos
    Github-Pull: #8940
    Rebased-From: 504c72ad346a1b619f1fc58d0edce91ec955a67d
    9aa0c15972
  68. Add x9 service bit support to dnsseed.bluematt.me
    Github-Pull: #8940
    Rebased-From: ffb4713920205db39bfd219b6162986a52ddf32b
    3d770a88d3
  69. My DNS seed supports filtering
    Currently supports filtering by any combination of the 4 least
    significant bits.
    
    Github-Pull: #8940
    Rebased-From: 2449e12681ab549695f143d9b3ad2c24be03a78d
    5b4192bc4c
  70. doc: Update release notes for last-minute pulls e1169b0529
  71. Release notes: add info about segwit and null dummy soft forks
    [no ci]
    5f9c7b0abd
  72. Relase notes: correct segwit activation point 2de93f0a9b
  73. Release notes: correct segwit signalling period start conditions
    [ci skip]
    bf86073e45
  74. Add historical release notes for v0.13.0
    [skip ci]
    c9ffe9044d
  75. Bump version to 0.13.1 a5cef7b077
  76. Merge #8943: Release notes: add info about segwit and null dummy soft forks
    bf86073 Release notes: correct segwit signalling period start conditions (David A. Harding)
    2de93f0 Relase notes: correct segwit activation point (David A. Harding)
    5f9c7b0 Release notes: add info about segwit and null dummy soft forks (David A. Harding)
    c418c0550d
  77. Merge #8947: Add historical release notes for v0.13.0
    c9ffe90 Add historical release notes for v0.13.0 (Micha)
    907c314057
  78. rpc: Generate auth cookie in hex instead of base64
    Base64 contains '/', and the '/' character in credentials is problematic
    for AuthServiceProxy which represents the RPC endpoint as an URI with
    user and password embedded.
    
    Closes #8399.
    
    Github-Pull: #8858
    Rebased-From: 1c80386bceb216ca5b5da657e03a29f9c779d58b
    3f508edcfb
  79. Remove bogus assert on number of oubound connections.
    This value can be significantly higher if the users uses addnode
    
    Github-Pull: #8944
    Rebased-From: 1ab21cf344ed0547de5ae679b7e479cb4b1a923b
    685e4c78f8
  80. doc: update 0.13.1 release note info on linux arm builds
    [skip ci]
    d179eed6ca
  81. Merge #8960: doc: update 0.13.1 release note info on linux arm builds
    d179eed doc: update 0.13.1 release note info on linux arm builds [skip ci] (mruddy)
    2c0913d0b3
  82. Be more aggressive in connecting to peers with relevant services.
    Only allow skipping relevant services until there are four outbound
     connections up.
    
    This avoids quickly filling up with peers lacking the relevant
     services when addrman has few or none of them.
    
    Github-Pull: #8949
    Rebased-From: 9583477288072e203541b747fcffe8d50cfefb8d
    33cd5539b2
  83. Make dnsseed's definition of acute need include relevant services.
    We normally prefer to connect to peers offering the relevant services.
    
    If we're not connected to enough peers with relevant services, we
     probably don't know about them and could use dnsseed's help.
    
    Github-Pull: #8949
    Rebased-From: 46304791353d2bb61004a035869612620c30b4eb
    91ae0b06b9
  84. RPC/Mining: getblocktemplate: Update and fix formatting of help
    Github-Pull: #8951
    Rebased-From: 59daa58d6a17bb1170c724f2d01d43c2ec21a9b4
    7c2bf4b175
  85. qt: pre-rc2 translations update 53e6196a90
  86. nMaxOutbound is MAX_OUTBOUND_CONNECTIONS on 0.13
    Github-Pull: #8949
    0dbc48a5bd
  87. doc: Update release notes for rc2 6e8936032f
  88. doc: Add missing credit to release notes
    (Eric participated in Segwit work but has no direct commits, so should
    be mentioned)
    5f6b312e51
  89. doc: Update blurb in release notes
    Minor version, not major version.
    c9a5baddee
  90. release-notes: Update from blog draft 99f5cf1893
  91. Merge #9012: release-notes: Update from blog draft
    99f5cf1 release-notes: Update from blog draft (Luke Dashjr)
    cb69988572
  92. [net] Remove assert(nMaxInbound > 0)
    nMaxInbound might very well be 0 or -1, if the user prefers to keep
    a small number of maxconnections.
    
    Note: nMaxInbound of -1 means that the user set maxconnections
    to 8 or less, but we still want to keep an additional slot for
    the feeler connection.
    
    Github-Pull: #9008
    Rebased-From: fa1c3c2eb0a1853ed0e0662fc2bdbca51e05ccf5
    58d4fa7da3
  93. release: bump required osx version to 10.8. Credit jonasschnelli.
    libc++ on 10.7 causes too many issues.
    
    See #8577 for discussion/details.
    
    Github-Pull: #9015
    Rebased-From: 339c4b6c3a8e68e4bba1969d144e413a462b68f1
    a32d7c23fc
  94. Update release notes for dropping osx 10.7 support 1d1246314f
  95. Merge #9022: Update release notes to mention dropping OS X 10.7 support
    1d12463 Update release notes for dropping osx 10.7 support (Michael Ford)
    03422e564b
  96. Add missing cs_main lock to ::GETBLOCKTXN processing
    Note that this is not a major issue as, in order for the missing
    lock to cause issues, you have to receive a GETBLOCKTXN message
    while reindexing, adding a block header via RPC, etc, which results
    in either a table rehash or an insert into the bucket which you are
    currently looking at.
    
    Github-Pull: #8995
    Rebased-From: dfe79060a62c8de098e75d527d97b99c3b10de50
    9ef38758a6
  97. Fix relaypriority calculation error
    Github-Pull: #8357
    Rebased-From: 94a34a5d951cee59ef9c9274c5ad49ac2a91ab8a
    ce0d817b9b
  98. Don't return the address of a P2SH of a P2SH.
    Github-Pull: #8845
    Rebased-From: d51f18246165b580761af824f1bb4a49b6908f28
    1d048b917b
  99. Add MIT license to Makefiles
    Github-Pull: #8784
    Rebased-From: f4dffdd6bffc58377b7505b639f0431244321c32
    6d05fe115b
  100. Add MIT license to autogen.sh and share/genbuild.sh
    Github-Pull: #8784
    Rebased-From: 3b4b6dcdd77f3ba76fb0cda6f2c277ec1629d8d3
    fa58e55cef
  101. Trivial: build-aux/m4/l_atomic: Fix typo
    Github-Pull: #8784
    Rebased-From: 3f8a5d8f6e95c3c1aa62433abc5edb0c93caae11
    2cfcca7ca6
  102. Add MIT license to build-aux/m4 scripts
    Github-Pull: #8784
    Rebased-From: 0c4e6ce88f58c13ed81807e3a5bef28b673aa503
    b16cdb71ff
  103. Move release notes to release-notes/release-notes-0.13.1.md
    And clean out current release notes, ready for next release from this
    branch.
    2e2388a5cb
  104. [qa] Test that invalid compactblocks don't result in ban 82905069bf
  105. Fix compact block handling to not ban if block is invalid 015865ee9e
  106. Bump the protocol version to distinguish new banning behavior.
    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.
    e8ef50ba51
  107. Merge #9011: 0.13.2 backports
    b16cdb7 Add MIT license to build-aux/m4 scripts (Luke Dashjr)
    2cfcca7 Trivial: build-aux/m4/l_atomic: Fix typo (Luke Dashjr)
    fa58e55 Add MIT license to autogen.sh and share/genbuild.sh (Luke Dashjr)
    6d05fe1 Add MIT license to Makefiles (Luke Dashjr)
    1d048b9 Don't return the address of a P2SH of a P2SH. (jnewbery)
    ce0d817 Fix relaypriority calculation error (maiiz)
    9ef3875 Add missing cs_main lock to ::GETBLOCKTXN processing (Matt Corallo)
    59ce53c13c
  108. Merge #9048: [0.13 backport] Fix handling of invalid compact blocks
    e8ef50b Bump the protocol version to distinguish new banning behavior. (Suhas Daftuar)
    015865e Fix compact block handling to not ban if block is invalid (Suhas Daftuar)
    8290506 [qa] Test that invalid compactblocks don't result in ban (Suhas Daftuar)
    9460771a60
  109. [qa] add assert_raises_message to check specific error message
    Github-Pull: #9168
    Rebased-From: 307acdd3df03082295ac0f7fe9eba7dd35973bc4
    3107280e14
  110. [qa] Increase wallet-dump RPC timeout
    Increase wallet-dump RPC timeout from 30 seconds to 1 minute. This avoids a
    timeout error that seemed to happen regularly (around 50% of builds) on a
    particular jenkins server during the first getnewaddress RPC call made by the
    test.
    
    The failing stack trace looked like:
    
        Unexpected exception caught during testing: timeout('timed out',)
    
        File ".../bitcoin/qa/rpc-tests/test_framework/test_framework.py", line 146, in main
          self.run_test()
        File ".../bitcoin/qa/rpc-tests/wallet-dump.py", line 73, in run_test
          addr = self.nodes[0].getnewaddress()
        File ".../bitcoin/qa/rpc-tests/test_framework/coverage.py", line 49, in __call__
          return_val = self.auth_service_proxy_instance.__call__(*args, **kwargs)
        File ".../bitcoin/qa/rpc-tests/test_framework/authproxy.py", line 145, in __call__
          response = self._request('POST', self.__url.path, postdata.encode('utf-8'))
        File ".../bitcoin/qa/rpc-tests/test_framework/authproxy.py", line 121, in _request
          return self._get_response()
        File ".../bitcoin/qa/rpc-tests/test_framework/authproxy.py", line 160, in _get_response
          http_response = self.__conn.getresponse()
        File "/usr/lib/python3.4/http/client.py", line 1171, in getresponse
          response.begin()
        File "/usr/lib/python3.4/http/client.py", line 351, in begin
          version, status, reason = self._read_status()
        File "/usr/lib/python3.4/http/client.py", line 313, in _read_status
          line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1")
        File "/usr/lib/python3.4/socket.py", line 374, in readinto
          return self._sock.recv_into(b)
    
    Github-Pull: #9077
    Rebased-From: 8463aaa63c5ac76421c4d2754ea9e17a31584c93
    1d4c884cd3
  111. [qa] Add more helpful RPC timeout message
    Replace previous timeout('timed out',) exception with more detailed error.
    
    Github-Pull: #9077
    Rebased-From: e89614b6abf28d7fe201c3db44a0df6e4db6de03
    da4926b1d2
  112. test: Fix use-after-free in scheduler tests
    Make a copy of the boost time-point to wait for, otherwise the head of
    the queue may be deleted by another thread while this one is waiting,
    while the boost function still has a reference to it.
    
    Although this problem is in non-test code, this is not an actual problem
    outside of the tests because we use the thread scheduler with only one
    service thread, so there will never be threads fighting at the head of
    the queue.
    
    The old boost fallback escapes this problem because it passes a scalar
    value to wait_until instead of a const object reference.
    
    Found by running the tests in LLVM-4.0-master asan.
    
    Github-Pull: #9186
    Rebased-From: 12519bf62b8c49b1c1744eca6ea5b3162a61f962
    dccdc3aa34
  113. [qa] Wait for specific block announcement in p2p-compactblocks
    Change check_announcement_of_new_block() to wait specifically for the
    announcement of the newly created block, instead of waiting for any
    announcement at all. A difficult to reproduce failure in
    check_announcement_of_new_block() that happened in a travis build
    (https://travis-ci.org/bitcoin/bitcoin/jobs/175198367) might have happened
    because an older announcement was mistaken for the expected one. The error
    looked like:
    
      Assertion failed: Failed
    
      File ".../bitcoin/qa/rpc-tests/test_framework/test_framework.py", line 145, in main
        self.run_test()
      File ".../bitcoin/build/../qa/rpc-tests/p2p-compactblocks.py", line 787, in run_test
        self.test_sendcmpct(self.nodes[1], self.segwit_node, 2, old_node=self.old_node)
      File ".../bitcoin/build/../qa/rpc-tests/p2p-compactblocks.py", line 201, in test_sendcmpct
        check_announcement_of_new_block(node, test_node, lambda p: p.last_cmpctblock is None and p.last_inv is not None)
      File ".../bitcoin/build/../qa/rpc-tests/p2p-compactblocks.py", line 194, in check_announcement_of_new_block
        assert(predicate(peer))
    
    This commit also changes the assertion failed message above to include more
    detailed information for debug.
    
    Github-Pull: #9159
    Rebased-From: dfa44d1b07a6d1022005dba63dd6372739eee8a0
    eca9b46537
  114. [qa] Fix bug in compactblocks v2 merge
    Bug caused the wait_for_block_announcement to be called on the wrong node,
    leading to nondeterminism and occasional test failures. Bug was introduced in
    merge commit:
    
    d075479 Merge #8882: [qa] Fix race conditions in p2p-compactblocks.py and sendheaders.py
    
    Underlying commits which conflicted were:
    
    27acfc1 [qa] Update p2p-compactblocks.py for compactblocks v2
    6976db2 [qa] Another attempt to fix race condition in p2p-compactblocks.py
    
    The first commit changed the test_compactblock_construction function signature
    and second commit added code which wasn't updated during the merge to use the
    new arguments.
    
    Suhas Daftuar <sdaftuar@chaincode.com> noticed the bug and suggested the fix.
    
    Github-Pull: #9058
    Rebased-From: 47e9659ecfbe07077a4564591095bd5510e0f917
    2ba5d78427
  115. [qa] Fix stale data bug in test_compactblocks_not_at_tip
    Clear test_node.last_block before requesting blocks in the
    compactblocks_not_at_tip test so comparisons won't fail if a blocks were received
    before the test started.
    
    The bug doesn't currently cause any problems due to the order tests run, but
    this will change in the next commit.
    
    Github-Pull: #9058
    Rebased-From: 55bfddcabbf9e8a3743f77167ba4a43aaba9f948
    286e548d87
  116. Dont remove a "preferred" cmpctblock peer if they provide a block
    Github-Pull: #8637
    Rebased-From: 02a337defdd854efc78ecba6d1fb19cb1c075f16
    36e3b95103
  117. More agressively filter compact block requests
    Unit test adaptations by Pieter Wuille.
    
    Github-Pull: #8637
    Rebased-From: fe998e962dc015978f104b782afb7daec3c4d4df
    76ba1c9739
  118. Add cmpctblock to debug help list
    Github-Pull: #8637
    Rebased-From: b2e93a343ec2dc7d255b970e6ee45e9c390f7ed0
    3d23a0eaa3
  119. Align constant names for maximum compact block / blocktxn depth
    Github-Pull: #8637
    Rebased-From: 3ac6de0a045cc9b2047ceb19af970e7ffbf905fa
    2cad5db6f7
  120. Modify getblocktxn handler not to drop requests for old blocks
    The current getblocktxn implementation drops and ignores requests for old
    blocks, which causes occasional sync_block timeouts during the
    p2p-compactblocks.py test as reported in
    https://github.com/bitcoin/bitcoin/issues/8842.
    
    The p2p-compactblocks.py test setup creates many new blocks in a short
    period of time, which can lead to getblocktxn requests for blocks below the
    hardcoded depth limit of 10 blocks. This commit changes the getblocktxn
    handler not to ignore these requests, so the peer nodes in the test setup
    will reliably be able to sync.
    
    The protocol change is documented in BIP-152 update "Allow block responses
    to getblocktxn requests" at https://github.com/bitcoin/bips/pull/469.
    
    The protocol change is not expected to affect nodes running outside the test
    environment, because there shouldn't normally be lots of new blocks being
    rapidly added that need to be synced.
    
    Github-Pull: #9058
    Rebased-From: dac53b58b555183ccc0d5e64c428528267cd98b3
    Github-Pull: #9160
    Rebased-From: ec34648766c4052816e4072cc61ad429430bcfd9
    e8461666ec
  121. torcontrol: Explicitly request RSA1024 private key
    When generating a new service key, explicitly request a RSA1024 one.
    
    The bitcoin P2P protocol has no support for the longer hidden service names
    that will come with ed25519 keys, until it does, we depend on the old
    hidden service type so make this explicit.
    
    See #9214.
    
    Rebased-From: 7d3b627395582ae7c9d54ebdbc68096d7042162b
    Github-Pull: #9234
    94531b5350
  122. Revert "Use async name resolving to improve net thread responsiveness"
    This reverts commit caf6150e9785da408f1e603ae70eae25b5202d98.
    
    getaddrinfo_a has a nasty tendency to segfault internally in its
    background thread, on every version of glibc I tested, especially
    under helgrind.
    
    See https://sourceware.org/bugzilla/show_bug.cgi?id=20874
    
    Github-Pull: #9229
    Rebased-From: 10ae7a7b2316f8052ec58ef237ce6dd987300900
    b172377857
  123. Merge #9191: [qa] 0.13.2 Backports
    e846166 Modify getblocktxn handler not to drop requests for old blocks (Russell Yanofsky)
    2cad5db Align constant names for maximum compact block / blocktxn depth (Pieter Wuille)
    3d23a0e Add cmpctblock to debug help list (instagibbs)
    76ba1c9 More agressively filter compact block requests (Matt Corallo)
    36e3b95 Dont remove a "preferred" cmpctblock peer if they provide a block (Matt Corallo)
    286e548 [qa] Fix stale data bug in test_compactblocks_not_at_tip (Russell Yanofsky)
    2ba5d78 [qa] Fix bug in compactblocks v2 merge (Russell Yanofsky)
    eca9b46 [qa] Wait for specific block announcement in p2p-compactblocks (Russell Yanofsky)
    dccdc3a test: Fix use-after-free in scheduler tests (Wladimir J. van der Laan)
    da4926b [qa] Add more helpful RPC timeout message (Russell Yanofsky)
    1d4c884 [qa] Increase wallet-dump RPC timeout (Russell Yanofsky)
    3107280 [qa] add assert_raises_message to check specific error message (mrbandrews)
    29435db6a4
  124. build: fix qt5.7 build under macOS
    OBJCXX's std flags don't get defined by our cxx macro. Rather than hard-coding
    to c++11, just force OBJCXX to be the same as CXX unless the user specified
    otherwise.
    
    Github-Pull: #9169
    Rebased-From: 70266e98292bf9c8f019ca4b11d681b575f71448
    d1b4da9259
  125. log block size and weight correctly.
    Github-Pull: #8838
    Rebased-From: 5f274a1749acfdf331bc2931e25ac80c346e5faa
    094848baf0
  126. Always drop the least preferred HB peer when adding a new one.
    When a BIP152 HB-mode peer is in the least preferred position and
     disconnects, they will not be by ForNode on the next loop. They
     will continue to sit in that position and prevent deactivating
     HB mode for peers that are still connected.
    
    There is no reason for them to stay in the list if already gone,
     so drop the first element unconditionally if there are too many.
    
    Fixes issue #9163.
    
    Github-Pull: #9199
    Rebased-From: ca8549d2bd32f17f8b69d1edbe3f2976fba504b4
    da5a16b11d
  127. Always add default_witness_commitment with GBT client support
    Github-Pull: #9189
    Rebased-From: ad04d1cb35b9612d36078c62213bdbb13f56d73d
    99477c71c4
  128. [qa] Test getblocktemplate default_witness_commitment
    Github-Pull: #9189
    Rebased-From: 95f4a03777ec2ad82a94a3e2890192a93ad83509
    b96a8f7df2
  129. Make orphan parent fetching ask for witnesses.
    In 0.13 orphan transactions began being treated as implicit
     INVs for their parents.  But the resulting getdata were
     not getting the witness flag.
    
    This fixes issue #9182 reported by chjj and roasbeef on IRC.
    
    Github-Pull: #9188
    Rebased-From: 5b0150a060208faf436c09b0ca9463407a869c72
    ca1fd7521e
  130. Use RelevantServices instead of node_network in AttemptToEvict.
    Use of node_network here is really meant to be a proxy of "likely to
     send us blocks in the future".  RelevantServices is the right criteria
     now.
    
    Github-Pull: #9052
    Rebased-From: d32036a47d9ccdc38628a7a75bb8b711af462e4f
    3a3bcbf775
  131. Update INSTALL landing redirection notice for build instructions.
    Github-Pull: #8896
    Rebased-From: 2920be2a6994cfbffd93e72c6cf4c1ed19ac4339
    975ab1254e
  132. Simple Update to File 'bitcoin-qt.desktop'
    Github-Pull: #8908
    Rebased-From: 164196b7c8aecb72dd20c8681bb24b81b18aecaa
    4a974b2837
  133. [build-aux] Boost_Base serial 27
    Github-Pull: #8920
    Rebased-From: 282abd8358e254d976cad05d0eb48586db276bcd
    c134d9206d
  134. Set minimum required Boost to 1.47.0
    Github-Pull: #8920
    Rebased-From: 6dd37237222f7102e223ece948150cb5c5087e3c
    40169dcda9
  135. add software-properties-common
    This allows using `add-apt-repository`.
    
    Github-Pull: #8929
    Rebased-From: aa9d3c9a503952589b359624bbb0da11dd7a5e3f
    12428b4d8a
  136. Sync bitcoin-tx with tx version policy
    Github-Pull: #8932
    Rebased-From: b0aea8057921f0ed2288cf07048f652c7d6d9cf3
    106da691a5
  137. [Qt] make warnings label selectable
    Github-Pull: #8972
    Rebased-From: ef0c9ee2960fda58b2fe5b0c3b4c672231b30322
    6f86b53643
  138. Fix doxygen comment: the transaction is returned in txOut
    Github-Pull: #8993
    Rebased-From: 1d8e12ba48154b2c59213e92efb50958d430a007
    973ca1e491
  139. [rpc] ParseHash: Fail when length is not 64
    Github-Pull: #9042
    Rebased-From: fa326193ad739d1f93da456b3fa73af0bbf9fdd1
    5bcb05d4e1
  140. Fix exit codes:
    - `--help`, `--version` etc should exit with `0` i.e. no error ("not enough args" case should still trigger an error)
    - error reading config file should exit with `1`
    
    Slightly refactor AppInitRPC/AppInitRawTx to return standard exit codes (EXIT_FAILURE/EXIT_SUCCESS) or CONTINUE_EXECUTION (-1)
    
    Github-Pull: #9067
    Rebased-From: bd0de1386e1c7f9b875d52290de0d561c8d56bc9
    f85ee01303
  141. Every main()/exit() should return/use one of EXIT_ codes instead of magic numbers
    Github-Pull: #9067
    Rebased-From: 4441018d0860fce64ee74fa78da79bbb21114ca9
    f27596a7ec
  142. Missed one "return false" in recent refactoring in #9067
    Github-Pull: #9120
    Rebased-From: 45d372f88900bda74835a20a44246746c2ac94e6
    08d1c90113
  143. qt: Use correct conversion function for boost::path datadir
    Fixes #9089.
    
    Github-Pull: #9094
    Rebased-From: e760b307f6210bee293796d606bcca87f86be200
    5f3a12c97c
  144. net: don't send feefilter messages before the version handshake is complete
    Github-Pull: #9117
    Rebased-From: 46625538d674a5aaf1bcfa7c8be8a49e5a23fa9e
    6fe3981ac8
  145. fix getnettotals RPC description about timemillis.
    Github-Pull: #9122
    Rebased-From: a79f864945d7abe05e777a942864c181311e5070
    f82c81b177
  146. Doxygen: Set PROJECT_NAME = "Bitcoin Core"
    Github-Pull: #9178
    Rebased-From: fa63ee8e3eeef8379360c125eeb690a37f097da2
    3fffbf7ef0
  147. [Qt] fix coincontrol sort issue
    Github-Pull: #9185
    Rebased-From: 76af4eb876814a916dd4f26cf71faa20bdc54f2d
    6d70a73968
  148. [Qt] Clean up and fix coincontrol tree widget handling
    - Do sorting for date, amount and confirmations column as longlong, not
      unsigned longlong.
    - Use `UserRole` to store our own data. This makes it treated as
      ancillary data prevents it from being displayed.
    - Get rid of `getMappedColumn` `strPad` - these are no longer necessary.
    - Get rid of hidden `_INT64` columns.
    - Start enumeration from 0 (otherwise values are undefined).
    
    Github-Pull: #9185
    Rebased-From: 4231032bfcb9728f0f629b3d67884ba9de63e4ff
    ff423cc6b0
  149. qt: Plug many memory leaks
    None of these are very serious, and are leaks in objects that are
    created at most one time.
    
    In most cases this means properly using the QObject parent hierarchy,
    except for BanTablePriv/PeerTablePriv which are not QObject,
    so use a std::unique_ptr instead.
    
    Github-Pull: #9190
    Rebased-From: 47db07537746940ee7dd0739a8c73e328837813f
    dc46b10a08
  150. qt: Prevent thread/memory leak on exiting RPCConsole
    Make ownership of the QThread object clear, so that the RPCConsole
    can wait for the executor thread to quit before shutdown is called. This
    increases overall thread safety, and prevents some objects from leaking
    on exit.
    
    Github-Pull: #9190
    Rebased-From: 693384eedb1ac7f449e226edd53e2cb52a86e279
    c12f4e93b9
  151. qt: Avoid splash-screen related memory leak
    Make splash screen queue its own deletion when it receives the finished
    command, instead of relying on WA_DeleteOnClose which doesn't work under
    these circumstances.
    
    Github-Pull: #9190
    Rebased-From: e4f126a7ba66e7317718c30276dff6db92dc1986
    e4bea4fb84
  152. qt: Avoid shutdownwindow-related memory leak
    Store a reference to the shutdown window on BitcoinApplication,
    so that it will be deleted when exiting the main loop.
    
    Github-Pull: #9190
    Rebased-From: 5204598f8d07d7432d91e9b8781806d2f3d16415
    e5ad693f91
  153. qt: Avoid OpenSSL certstore-related memory leak
    - Correctly manage the X509 and X509_STORE objects lifetime.
    
    Github-Pull: #9190
    Rebased-From: ed998ea7a0ecf294211b06e9ef82f1548a621a1d
    6f7841c4d4
  154. Send tip change notification from invalidateblock
    This change is needed to prevent sync_blocks timeouts in the mempool_reorg
    test after the sync_blocks update in the upcoming commit
    "[qa] Change sync_blocks to pick smarter maxheight".
    
    This change was initially suggested by Suhas Daftuar <sdaftuar@chaincode.com>
    in https://github.com/bitcoin/bitcoin/pull/8680#r78209060
    
    Github-Pull: #9196
    Rebased-From: 67c6326abd1788e6f411feb4f44b69774e76aae2
    0c09d9f00e
  155. bench: Fix subtle counting issue when rescaling iteration count
    Make sure that the count is a zero modulo the new mask before
    scaling, otherwise the next time until a measure triggers
    will take only 1/2 as long as accounted for. This caused
    the 'min time' to be potentially off by as much as 100%.
    
    Github-Pull: #9200
    Rebased-From: e0a9cb25b0af87723d50cb8d8cffa10f1ebf7dcc
    eebc699d30
  156. Include select.h when WIN32 is not defined
    Github-Pull: #9224
    Rebased-From: 498a1d75e75649b02caeca7b1bc9bbc19e51a566
    396c405e7b
  157. Fix calculation of number of bound sockets to use
    Github-Pull: #9253
    Rebased-From: 9e1f46821d5bb69e2cbf25738eefa7c6cb99c838
    28d0f224fd
  158. Update gitian signing key of jl2012
    Github-Pull: #8950
    Rebased-From: 9b0d8efe811058928a6ed3a55c0b6d58e13b22ba
    ff55a2d22e
  159. instance of 'mem pool' to 'mempool'
    there was only one instance of  'mem pool' and not 'mempool', so I changed it to conform to the others
    
    Github-Pull: #9029
    Rebased-From: 1c3ecc70c8cd6c33cf3ff4e2099c8e7d8a8ca9d2
    b1e978cfd6
  160. Change all instance of 'GMT epoch' to 'Unix epoch'
    Github-Pull: #9041
    Rebased-From: 7f61b49de82989dc692e7750860eb1ec4044db7a
    87fbcede5c
  161. Add script tests for FindAndDelete in pre-segwit and segwit scripts
    Github-Pull: #8927
    Rebased-From: acf853df910339412bafb1743f42af1774f5b910
    387ec9d963
  162. [qa] test_framework: Exit when tmpdir exists
    Github-Pull: #9098
    Rebased-From: fae19aa1da0858678874815b344de83e1ee3a1bd
    ecd7db5767
  163. [qa] rpc-tests: Apply random offset to portseed
    This helps to skip over resources, which are blocked by regtest bitcoind
    zombie nodes
    
    Github-Pull: #9098
    Rebased-From: fab0f07dec8d6e21ab70843fdce101f1703588fd
    58eab244fb
  164. Disable fee estimates for a confirm target of 1 block
    Backport of #9239 without GUI changes and fixing conflicts in tests.
    3688866880
  165. Merge #9267: Disable fee estimates for a confirm target of 1 block
    3688866 Disable fee estimates for a confirm target of 1 block (Alex Morcos)
    0a4aa87623
  166. Improvement of documentation of command line parameter 'whitelist'
    Github-Pull: #9251
    Rebased-From: 8a70a9da3da0df5c376042b18b87f0a63e88d2e3
    a710a43040
  167. Add option to return non-segwit serialization via rpc
    Github-Pull: #9194
    Rebased-From: 835c75acaac004c3315395dcd7d1f193dfb9e5da
    21ccb9f253
  168. Adapt ZMQ/rest serialization to take rpcserialversion arg
    Github-Pull: #9194
    Rebased-From: ad5c4c93cae53a2a6f74880ca11b4d788677a378
    f26dab7e90
  169. Remove duplicate nBlocksEstimate cmp (we already checked IsIBD())
    Github-Pull: #8865
    Rebased-From: 0278fb5f48ae9e42ec0772f85e201051077f633c
    4c71fc42fb
  170. IBD check uses minimumchain work instead of checkpoints.
    This introduces a 'minimum chain work' chainparam which is intended
     to be the known amount of work in the chain for the network at the
     time of software release.  If you don't have this much work, you're
     not yet caught up.
    
    This is used instead of the count of blocks test from checkpoints.
    
    This criteria is trivial to keep updated as there is no element of
    subjectivity, trust, or position dependence to it. It is also a more
    reliable metric of sync status than a block count.
    
    Github-Pull: #9053
    Rebased-From: fd46136dfaf68a7046cf7b8693824d73ac6b1caf
    ad20cddce2
  171. Remove GetTotalBlocksEstimate and checkpoint tests that test nothing.
    GetTotalBlocksEstimate is no longer used and it was the only thing
     the checkpoint tests were testing.
    
    Since checkpoints are on their way out it makes more sense to remove
     the test file than to cook up a new pointless test.
    
    Github-Pull: #9053
    Rebased-From: 2082b5574cec783f4ff99941492d92e05680b293
    5b93eeebb4
  172. IsInitialBlockDownload no longer uses header-only timestamps.
    This avoids a corner case (mostly visible on testnet) where bogus
     headers can keep nodes in IsInitialBlockDownload.
    
    Github-Pull: #9053
    Rebased-From: e141beb6a9816b7e1e680fb0a8bae16d42a3e557
    5998a09546
  173. Merge #9293: [0.13 Backport] IBD using chainwork instead of height and not using header timestamp (#9053)
    5998a09 IsInitialBlockDownload no longer uses header-only timestamps. (Gregory Maxwell)
    5b93eee Remove GetTotalBlocksEstimate and checkpoint tests that test nothing. (Gregory Maxwell)
    ad20cdd IBD check uses minimumchain work instead of checkpoints. (Gregory Maxwell)
    4c71fc4 Remove duplicate nBlocksEstimate cmp (we already checked IsIBD()) (Matt Corallo)
    e591c1049f
  174. Add release notes for wallet/mempool rejections. (PR #9302 and #9290) 57aec3b0b5
  175. Squashed 'src/secp256k1/' changes from 6c527ec..8225239
    8225239 Merge #433: Make the libcrypto detection fail the newer API.
    12de863 Make the libcrypto detection fail the newer API.
    2928420 Merge #427: Remove Schnorr from travis as well
    8eecc4a Remove Schnorr from travis as well
    a8abae7 Merge #310: Add exhaustive test for group functions on a low-order subgroup
    b4ceedf Add exhaustive test for verification
    83836a9 Add exhaustive tests for group arithmetic, signing, and ecmult on a small group
    20b8877 Add exhaustive test for group functions on a low-order subgroup
    80773a6 Merge #425: Remove Schnorr experiment
    e06e878 Remove Schnorr experiment
    04c8ef3 Merge #407: Modify parameter order of internal functions to match API parameter order
    6e06696 Merge #411: Remove guarantees about memcmp-ability
    40c8d7e Merge #421: Update scalar_4x64_impl.h
    a922365 Merge #422: Restructure nonce clearing
    3769783 Restructure nonce clearing
    0f9e69d Restructure nonce clearing
    9d67afa Update scalar_4x64_impl.h
    7d15cd7 Merge #413: fix auto-enabled static precompuatation
    00c5d2e fix auto-enabled static precompuatation
    91219a1 Remove guarantees about memcmp-ability
    7a49cac Merge #410: Add string.h include to ecmult_impl
    0bbd5d4 Add string.h include to ecmult_impl
    353c1bf Fix secp256k1_ge_set_table_gej_var parameter order
    541b783 Fix secp256k1_ge_set_all_gej_var parameter order
    7d893f4 Fix secp256k1_fe_inv_all_var parameter order
    c5b32e1 Merge #405: Make secp256k1_fe_sqrt constant time
    926836a Make secp256k1_fe_sqrt constant time
    e2a8e92 Merge #404: Replace 3M + 4S doubling formula with 2M + 5S one
    8ec49d8 Add note about 2M + 5S doubling formula
    5a91bd7 Merge #400: A couple minor cleanups
    ac01378 build: add -DSECP256K1_BUILD to benchmark_internal build flags
    a6c6f99 Remove a bunch of unused stdlib #includes
    65285a6 Merge #403: configure: add flag to disable OpenSSL tests
    a9b2a5d configure: add flag to disable OpenSSL tests
    b340123 Merge #402: Add support for testing quadratic residues
    e6e9805 Add function for testing quadratic residue field/group elements.
    efd953a Add Jacobi symbol test via GMP
    fa36a0d Merge #401: ecmult_const: unify endomorphism and non-endomorphism skew cases
    c6191fd ecmult_const: unify endomorphism and non-endomorphism skew cases
    0b3e618 Merge #378: .gitignore build-aux cleanup
    6042217 Merge #384: JNI: align shared files copyright/comments to bitcoinj's
    24ad20f Merge #399: build: verify that the native compiler works for static precomp
    b3be852 Merge #398: Test whether ECDH and Schnorr are enabled for JNI
    aa0b1fd build: verify that the native compiler works for static precomp
    eee808d Test whether ECDH and Schnorr are enabled for JNI
    7b0fb18 Merge #366: ARM assembly implementation of field_10x26 inner (rebase of #173)
    001f176 ARM assembly implementation of field_10x26 inner
    0172be9 Merge #397: Small fixes for sha256
    3f8b78e Fix undefs in hash_impl.h
    2ab4695 Fix state size in sha256 struct
    6875b01 Merge #386: Add some missing `VERIFY_CHECK(ctx != NULL)`
    2c52b5d Merge #389: Cast pointers through uintptr_t under JNI
    43097a4 Merge #390: Update bitcoin-core GitHub links
    31c9c12 Merge #391: JNI: Only call ecdsa_verify if its inputs parsed correctly
    1cb2302 Merge #392: Add testcase which hits additional branch in secp256k1_scalar_sqr
    d2ee340 Merge #388: bench_ecdh: fix call to secp256k1_context_create
    093a497 Add testcase which hits additional branch in secp256k1_scalar_sqr
    a40c701 JNI: Only call ecdsa_verify if its inputs parsed correctly
    faa2a11 Update bitcoin-core GitHub links
    47b9e78 Cast pointers through uintptr_t under JNI
    f36f9c6 bench_ecdh: fix call to secp256k1_context_create
    bcc4881 Add some missing `VERIFY_CHECK(ctx != NULL)` for functions that use `ARG_CHECK`
    6ceea2c align shared files copyright/comments to bitcoinj's
    70141a8 Update .gitignore
    7b549b1 Merge #373: build: fix x86_64 asm detection for some compilers
    bc7c93c Merge #374: Add note about y=0 being possible on one of the sextic twists
    e457018 Merge #364: JNI rebased
    86e2d07 JNI library: cleanup, removed unimplemented code
    3093576a JNI library
    bd2895f Merge pull request #371
    e72e93a Add note about y=0 being possible on one of the sextic twists
    3f8fdfb build: fix x86_64 asm detection for some compilers
    e5a9047 [Trivial] Remove double semicolons
    c18b869 Merge pull request #360
    3026daa Merge pull request #302
    03d4611 Add sage verification script for the group laws
    a965937 Merge pull request #361
    83221ec Add experimental features to configure
    5d4c5a3 Prevent damage_array in the signature test from going out of bounds.
    419bf7f Merge pull request #356
    03d84a4 Benchmark against OpenSSL verification
    
    git-subtree-dir: src/secp256k1
    git-subtree-split: 8225239f490f79842a5a3b82ad6cc8aa11d5208e
    64dfdde0aa
  176. Merge commit '64dfdde0aa7f7ef24e6cbf3c57e6d24efc55367e' into HEAD fad80b3a1e
  177. Merge #9264: 0.13.2 backports
    f26dab7 Adapt ZMQ/rest serialization to take rpcserialversion arg (instagibbs)
    21ccb9f Add option to return non-segwit serialization via rpc (Gregory Sanders)
    a710a43 Improvement of documentation of command line parameter 'whitelist' (wodry)
    58eab24 [qa] rpc-tests: Apply random offset to portseed (MarcoFalke)
    ecd7db5 [qa] test_framework: Exit when tmpdir exists (MarcoFalke)
    387ec9d Add script tests for FindAndDelete in pre-segwit and segwit scripts (Johnson Lau)
    87fbced Change all instance of 'GMT epoch' to 'Unix epoch' (matthias)
    b1e978c instance of 'mem pool' to 'mempool' (S. Matthew English)
    ff55a2d Update gitian signing key of jl2012 (Johnson Lau)
    28d0f22 Fix calculation of number of bound sockets to use (Matt Corallo)
    396c405 Include select.h when WIN32 is not defined (Ivo van der Sangen)
    eebc699 bench: Fix subtle counting issue when rescaling iteration count (Wladimir J. van der Laan)
    0c09d9f Send tip change notification from invalidateblock (Russell Yanofsky)
    6f7841c qt: Avoid OpenSSL certstore-related memory leak (Wladimir J. van der Laan)
    e5ad693 qt: Avoid shutdownwindow-related memory leak (Wladimir J. van der Laan)
    e4bea4f qt: Avoid splash-screen related memory leak (Wladimir J. van der Laan)
    c12f4e9 qt: Prevent thread/memory leak on exiting RPCConsole (Wladimir J. van der Laan)
    dc46b10 qt: Plug many memory leaks (Wladimir J. van der Laan)
    ff423cc [Qt] Clean up and fix coincontrol tree widget handling (Wladimir J. van der Laan)
    6d70a73 [Qt] fix coincontrol sort issue (Jonas Schnelli)
    3fffbf7 Doxygen: Set PROJECT_NAME = "Bitcoin Core" (MarcoFalke)
    f82c81b fix getnettotals RPC description about timemillis. (Masahiko Hyuga)
    6fe3981 net: don't send feefilter messages before the version handshake is complete (Cory Fields)
    5f3a12c qt: Use correct conversion function for boost::path datadir (Wladimir J. van der Laan)
    08d1c90 Missed one "return false" in recent refactoring in #9067 (UdjinM6)
    f27596a Every main()/exit() should return/use one of EXIT_ codes instead of magic numbers (UdjinM6)
    f85ee01 Fix exit codes: - `--help`, `--version` etc should exit with `0` i.e. no error ("not enough args" case should still trigger an error) - error reading config file should exit with `1` (UdjinM6)
    5bcb05d [rpc] ParseHash: Fail when length is not 64 (MarcoFalke)
    973ca1e Fix doxygen comment: the transaction is returned in txOut (Pavel Janík)
    6f86b53 [Qt] make warnings label selectable (Jonas Schnelli)
    106da69 Sync bitcoin-tx with tx version policy (BtcDrak)
    12428b4 add software-properties-common (Steven)
    40169dc Set minimum required Boost to 1.47.0 (fanquake)
    c134d92 [build-aux] Boost_Base serial 27 (fanquake)
    4a974b2 Simple Update to File 'bitcoin-qt.desktop' (matthias)
    975ab12 Update INSTALL landing redirection notice for build instructions. (randy-waterhouse)
    3a3bcbf Use RelevantServices instead of node_network in AttemptToEvict. (Gregory Maxwell)
    ca1fd75 Make orphan parent fetching ask for witnesses. (Gregory Maxwell)
    b96a8f7 [qa] Test getblocktemplate default_witness_commitment (Suhas Daftuar)
    99477c7 Always add default_witness_commitment with GBT client support (Pieter Wuille)
    da5a16b Always drop the least preferred HB peer when adding a new one. (Gregory Maxwell)
    094848b log block size and weight correctly. (jnewbery)
    d1b4da9 build: fix qt5.7 build under macOS (Cory Fields)
    423659c951
  178. Merge #9323: [0.13] Add release notes for wallet/mempool rejections. (PR #9302 and #9290)
    57aec3b Add release notes for wallet/mempool rejections. (PR #9302 and #9290) (Gregory Maxwell)
    782328660e
  179. [QA] add fundrawtransaction test on a locked wallet with empty keypool
    Github-Pull: #9295
    Rebased-From: 1a6eacbf3b7e3d5941fec1154079bbc4678ce861
    0cc07f82f0
  180. [Wallet] Bugfix: FRT: don't terminate when keypool is empty
    Github-Pull: #9295
    Rebased-From: c24a4f5981d47d55aa9e4eb40294832a4d38fb80
    43bcfca489
  181. Update for OpenSSL 1.1 API
    Github-Pull: #9326
    Rebased-From: bae1eef752dcecfd85fa482881e1dbe4d7e9f74c b05b1af10b9a5298bd90bea439f0fd6c636e0cfa
    a0f7ececfd
  182. Make RelayWalletTransaction attempt to AcceptToMemoryPool.
    This resolves an issue where a wallet transaction which failed to
     relay previously because it couldn't make it into the mempool
     will not try again until restart, even though mempool conditions
     may have changed.
    
    Abandoned and known-conflicted transactions are skipped.
    
    Some concern was expressed that there may be users with many
     unknown conflicts would waste a lot of CPU time trying to
     add them to their memory pools over and over again.  But I am
     doubtful these users exist in any number, if they do exist
     they have worse problems, and they can mitigate any performance
     issue this might have by abandoning the transactions in question.
    
    Github-Pull: #9290
    Rebased-From: f692fce8a49e05e25f1c767aae1e50db419caebe
    35174a0280
  183. Return txid even if ATMP fails for new transaction
    Github-Pull: #9302
    Rebased-From: b3a74100b86423c553ac327f3ea6fdbc2c50890a
    f5d606e5ab
  184. Allow compactblock reconstruction when block is in flight 4ced313256
  185. [qa] Update compactblocks test for multi-peer reconstruction 53b656f355
  186. Merge #9340: [0.13] Update secp256k1 subtree
    64dfdde Squashed 'src/secp256k1/' changes from 6c527ec..8225239 (MarcoFalke)
    fb987b3645
  187. Complain when unknown rpcserialversion is specified
    Github-Pull: #9292
    Rebased-From: 80d073c9bca4521d512ea14ff7919d4609647b6d
    c365556185
  188. [qa] Don't set unknown rpcserialversion
    Github-Pull: #9322
    Rebased-From: fa615d39b53a9309ef480c41ec073354c4371f40
    49a612f347
  189. Merge #9357: [0.13 backport] Attempt reconstruction from all compact block announcements
    53b656f [qa] Update compactblocks test for multi-peer reconstruction (Suhas Daftuar)
    4ced313 Allow compactblock reconstruction when block is in flight (Suhas Daftuar)
    03b6f621cc
  190. Merge #9347: [0.13.2] wallet/rpc backports
    49a612f [qa] Don't set unknown rpcserialversion (MarcoFalke)
    c365556 Complain when unknown rpcserialversion is specified (Pieter Wuille)
    f5d606e Return txid even if ATMP fails for new transaction (Pieter Wuille)
    35174a0 Make RelayWalletTransaction attempt to AcceptToMemoryPool. (Gregory Maxwell)
    a0f7ece Update for OpenSSL 1.1 API (Gregory Maxwell)
    43bcfca [Wallet] Bugfix: FRT: don't terminate when keypool is empty (Jonas Schnelli)
    0cc07f8 [QA] add fundrawtransaction test on a locked wallet with empty keypool (Jonas Schnelli)
    b711390895
  191. doc: Add initial pulls + authors list for 0.13.2 2c5fc0dba3
  192. qt: Pre-rc1 translations update 7201dd7732
  193. SelectCoinsMinConf: Prefer coins with fewer ancestors bdd6d4c97d
  194. CreateTransaction: Don't return success with too-many-ancestor txn f00066ac51
  195. Test for fix of txn chaining in wallet 4bf2bec18e
  196. reduce number of lookups in TransactionWithinChainLimit e1ff0dbe19
  197. Merge #9382: [backport 0.13] Prefer coins that have fewer ancestors, sanity check txn before ATMP
    e1ff0db reduce number of lookups in TransactionWithinChainLimit (Gregory Sanders)
    4bf2bec Test for fix of txn chaining in wallet (Gregory Sanders)
    f00066a CreateTransaction: Don't return success with too-many-ancestor txn (Gregory Sanders)
    bdd6d4c SelectCoinsMinConf: Prefer coins with fewer ancestors (Gregory Sanders)
    fe39f26b43
  198. doc: Add #9382 to release notes 8e707e868d
  199. Bump version to 0.13.2 20817ce92c
  200. Bump nMinimumChainWork 7a26a34112
  201. [qt] Bump BLOCK_CHAIN_SIZE 3882c05333
  202. Bump man pages da233db8e0
  203. Merge #9389: 0.13.2 release process
    da233db Bump man pages (MarcoFalke)
    3882c05 [qt] Bump BLOCK_CHAIN_SIZE (MarcoFalke)
    7a26a34 Bump nMinimumChainWork (MarcoFalke)
    20817ce Bump version to 0.13.2 (MarcoFalke)
    b31e13eeb6
  204. doc: Remove ... from release notes 0d719145b0
  205. net: Disable P2P alert system 0bace83079
  206. Fix soft fork mechanism parameters 05ecbdd2ce
  207. v0.11.3.1 a294affc50
  208. Copyright year 2017 6c456fa2d0
  209. Checkpoint 0e9dc91b23
  210. OSX images 398778543d
  211. Win installer images 4e40ab7e77
  212. Dns seeds 326f89e9e7
  213. Change upgrade warning check to 400 blocks 18f79619a5
  214. Change upgrade warning threshdold to 300 blocks 014bd9c5b6
  215. Soft fork rules for version 5 blocks f75bdd27a7
  216. v0.11.3.2 40f8cb6a31
  217. Set MIN_PEER_PROTO_VERSION 70002 b84e2101db
  218. Block version 4 (Enforce BIP65 CHECKLOCKTIMEVERIFY) 96483409b1
  219. v0.11.3.3 29204e9591
  220. Year 2018 update 5067160e88
  221. Block version 5 (Disconnects version 3 blocks not supporting 0.11 soft forks) f7cf14f9bd
  222. v0.11.3.4 027a5bd635
  223. Add checkpoint 5ce86b949f
  224. Merge with upstream bitcoin 0.11 984f75b536
  225. Restore alerts 829c52a999
  226. Merge pull request #13 from zetacoin/0.11-merge
    0.11 upstream merge
    1e6b21cb92
  227. v0.11.3.5 1f8f72ceba
  228. Merge with upstream bitcoin 0.12.0 39b53766cd
  229. Fix Qt About action text b92db98184
  230. Rename threads a46470b122
  231. Logging text da7013c837
  232. Enable pruning from block 100k 18e6fb7692
  233. Zetacoin text changes 3c544fd8ec
  234. Blockchain download parameters e62bb94473
  235. Merge pull request #14 from zetacoin/0.12.0-merge
    Zetacoin 0.12.0
    96ce092f16
  236. Merge with upstream bitcoin 0.12.1 2a3ac504e2
  237. Set past soft forks at bip 65 fork height 66bbc85357
  238. Versionbits last block version ed40b2b2b9
  239. Revert past soft forks set at bip65 height be650d2b5d
  240. Set BIP65/66 height e2aa3bf3b1
  241. Block version 2 rule height 04d2c618b6
  242. BIP9 deployment dates 3e6b9c53e0
  243. Reject legacy blocks 6e6358ec35
  244. Merge pull request #16 from zetacoin/0.12.1-merge
    0.12.1 merge
    f83ec2d01b
  245. Client version 7769674172
  246. Merge with upstream bitcoin 0.13.2 8d5975f597
  247. Set upgrade warning based on 400 blocks cd1939fb71
  248. OSX dsstore fix 21006e099c
  249. Merge pull request #19 from zetacoin/0.13.2
    0.13.2
    2f891f4b85
  250. Wallet text changes 834848bed9
  251. Client version update 57a0122053
  252. sipa closed this on Jan 25, 2019

  253. fanquake locked this on Jan 25, 2019
Contributors

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-17 15:15 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me