Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

0.10 #6935

Closed
wants to merge 195 commits into from
Closed

0.10 #6935

wants to merge 195 commits into from

Commits on Dec 12, 2014

  1. depends: Gitian 0.10 fixes

    Github-Pull: #5465
    Rebased-From: 422f873 d546191 d7db4b6 e27d7cb
    theuni authored and laanwj committed Dec 12, 2014
    Configuration menu
    Copy the full SHA
    0133e4f View commit details
    Browse the repository at this point in the history
  2. signrawtransaction: validate private key.

    Github-Pull: #5461
    Rebased-From: aa768f1
    paveljanik authored and laanwj committed Dec 12, 2014
    Configuration menu
    Copy the full SHA
    44b4c0d View commit details
    Browse the repository at this point in the history

Commits on Dec 15, 2014

  1. Fix download link for gitian builds

    Rebased-From: 164a45f
    Github-Pull: #5471
    btcdrak authored and laanwj committed Dec 15, 2014
    Configuration menu
    Copy the full SHA
    a572ff7 View commit details
    Browse the repository at this point in the history

Commits on Dec 16, 2014

  1. version 0.9.99 -> 0.10.0

    Bump version but keep CLIENT_VERSION_IS_RELEASE at false as this is not
    a release yet.
    laanwj committed Dec 16, 2014
    Configuration menu
    Copy the full SHA
    c3c635b View commit details
    Browse the repository at this point in the history

Commits on Dec 19, 2014

  1. add missing CAutoFile::IsNull() check in main

    Rebased-From: 84857e8
    Github-Pull: #5437
    Philip Kaufmann authored and laanwj committed Dec 19, 2014
    1 Configuration menu
    Copy the full SHA
    b03632a View commit details
    Browse the repository at this point in the history

Commits on Dec 22, 2014

  1. Check against MANDATORY flags prior to accepting to mempool

    Previously transactions were only tested again the
    STANDARD_SCRIPT_VERIFY_FLAGS prior to mempool acceptance, so any bugs in
    those flags that allowed actually-invalid transactions to pass would
    result in allowing invalid transactions into the mempool. Fortunately
    there is a second check in CreateNewBlock() that would prevent those
    transactions from being mined, resulting in an invalid block, however
    this could still be exploited as a DoS attack.
    
    Rebased-From: 7c041b3
    petertodd authored and laanwj committed Dec 22, 2014
    Configuration menu
    Copy the full SHA
    0cb8763 View commit details
    Browse the repository at this point in the history
  2. remove max orphan blocks config parameter since it is no longer funct…

    …ional
    
    Rebased-From: 4bc95c4
    jlopp authored and laanwj committed Dec 22, 2014
    Configuration menu
    Copy the full SHA
    ad3d208 View commit details
    Browse the repository at this point in the history

Commits on Dec 23, 2014

  1. Reject headers that build on an invalid parent

    Rebased-From: 3497022
    Github-Pull: #5459
    sipa authored and laanwj committed Dec 23, 2014
    Configuration menu
    Copy the full SHA
    8446262 View commit details
    Browse the repository at this point in the history
  2. Enforce minRelayTxFee on wallet created tx and add a maxtxfee option.

    Previously the minRelayTxFee was only enforced on user specified values.
    
    It was possible for smartfee to produce a fee below minRelayTxFee which
     would just result in the transaction getting stuck because it can't be
     relayed.
    
    This also introduces a maxtxfee option which sets an absolute maximum
     for any fee created by the wallet, with an intention of increasing
     user confidence that the automatic fees won't burn them. This was
     frequently a concern even before smartfees.
    
    If the configured fee policy won't even allow the wallet to meet the relay
     fee the transaction creation may be aborted.
    
    Rebased-From: aa279d6
    Github-Pull: #5485
    gmaxwell authored and laanwj committed Dec 23, 2014
    Configuration menu
    Copy the full SHA
    11855c1 View commit details
    Browse the repository at this point in the history
  3. Apply AreSane() checks to the fees from the network.

    'Sane' was already defined by this code as:
     fee.GetFeePerK() > minRelayFee.GetFeePerK() * 10000
     But sanity was only enforced for data loaded from disk.
    
    Note that this is a pretty expansive definition of 'sane': A 10 BTC
     fee is still passes the test if its on a 100kb transaction.
    
    This prevents a single insane fee on the network from making us reject
     our stored fee data at start.  We still may reject valid saved fee
     state if minRelayFee is changed between executions.
    
    This also reduces the risk and limits the damage from a cascading
     failure where one party pays a bunch of insane fees which cases
     others to pay insane fees.
    
    Rebased-From: 6484930
    Github-Pull: #5481
    gmaxwell authored and laanwj committed Dec 23, 2014
    Configuration menu
    Copy the full SHA
    15ad0b5 View commit details
    Browse the repository at this point in the history
  4. DOS: Respect max per-peer blocks in flight limit

    Don't allow immediate inv driven block downloads if
    a peer already has MAX_BLOCKS_IN_TRANSIT_PER_PEER
    active downloads.  Prevents bogus inv spam from
    blowing up block transfer tracking data structures.
    
    Rebased-From: c907704
    Github-Pull: #5507
    ajweiss authored and laanwj committed Dec 23, 2014
    Configuration menu
    Copy the full SHA
    d10a901 View commit details
    Browse the repository at this point in the history
  5. qt: periodic language update

    laanwj committed Dec 23, 2014
    Configuration menu
    Copy the full SHA
    3a88ba0 View commit details
    Browse the repository at this point in the history
  6. docs: update gitian building docs

    Github-Pull: #5512
    Rebased-From: dd14a0e
    theuni authored and laanwj committed Dec 23, 2014
    Configuration menu
    Copy the full SHA
    c888111 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    63b5a1d View commit details
    Browse the repository at this point in the history
  8. Merge pull request #5531

    laanwj committed Dec 23, 2014
    Configuration menu
    Copy the full SHA
    f4dcc1e View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    3aa3c71 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    13e129e View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    3434927 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    a230049 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    2bb0ca9 View commit details
    Browse the repository at this point in the history
  14. doc: add bitcoin-tx section to release notes

    Jeff Garzik authored and laanwj committed Dec 23, 2014
    1 Configuration menu
    Copy the full SHA
    4e0bfa5 View commit details
    Browse the repository at this point in the history

Commits on Dec 27, 2014

  1. Fix CScriptID(const CScript& in) in empty script case

    Previously an empty script wouldn't be hashed, and CScriptID would be
    assigned the incorrect value of 0 instead. This bug can be seen in the
    RPC decodescript command:
    
        $ btc decodescript ""
        {
            "asm" : "",
            "type" : "nonstandard",
            "p2sh" : "31h1vYVSYuKP6AhS86fbRdMw9XHieotbST"
        }
    
    Correct output:
    
        $ btc decodescript ""
        {
            "asm" : "",
            "type" : "nonstandard",
            "p2sh" : "3J98t1WpEZ73CNmQviecrnyiWrnqRhWNLy"
        }
    
    Rebased-From: d78f0da
    Github-Pull: #5541
    petertodd authored and laanwj committed Dec 27, 2014
    Configuration menu
    Copy the full SHA
    06ca065 View commit details
    Browse the repository at this point in the history
  2. gitian: attempt to fix tarball determinisim

    Rebased-From: 566c6cb
    Github-Pull: #5536
    theuni authored and laanwj committed Dec 27, 2014
    Configuration menu
    Copy the full SHA
    b3d67e1 View commit details
    Browse the repository at this point in the history
  3. en: Avoid ambiguous language regarding when transactions confirm

    Rebased-From: a15dba5
    Github-Pull: #5533
    luke-jr authored and laanwj committed Dec 27, 2014
    Configuration menu
    Copy the full SHA
    52e5705 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    591c569 View commit details
    Browse the repository at this point in the history

Commits on Dec 28, 2014

  1. Configuration menu
    Copy the full SHA
    ed934bd View commit details
    Browse the repository at this point in the history

Commits on Dec 30, 2014

  1. rpcserver: attempt to fix uncaught exception.

    Rebased-From: f9c571a
    Github-Pull: #5565
    theuni authored and laanwj committed Dec 30, 2014
    Configuration menu
    Copy the full SHA
    87d43a3 View commit details
    Browse the repository at this point in the history

Commits on Dec 31, 2014

  1. Configuration menu
    Copy the full SHA
    968f13c View commit details
    Browse the repository at this point in the history
  2. Correct tooltip on address book page

    Rebased-From: 06206bb
    Github-Pull: 5571
    fanquake authored and laanwj committed Dec 31, 2014
    Configuration menu
    Copy the full SHA
    8543b0d View commit details
    Browse the repository at this point in the history
  3. English translation update

    laanwj committed Dec 31, 2014
    Configuration menu
    Copy the full SHA
    b790d13 View commit details
    Browse the repository at this point in the history
  4. Remove bitnodes.io from dnsseeds.

    I'm not comfortable with retaining this entry.
    
    Rebased-From: a094b3d
    Github-Pull: #5545
    gmaxwell authored and laanwj committed Dec 31, 2014
    Configuration menu
    Copy the full SHA
    18021d0 View commit details
    Browse the repository at this point in the history
  5. Bugfix: prioritisetransaction: Do some basic sanity checking on txid

    Besides giving a nicer error, this also prevents logging arbitrary data (which could have been used to exploit log readers) into debug.log
    
    Rebased-From: 7f71813
    Github-Pull: #5499
    luke-jr authored and laanwj committed Dec 31, 2014
    Configuration menu
    Copy the full SHA
    1eadfd9 View commit details
    Browse the repository at this point in the history
  6. release-notes: updates

    - Avoid ambiguous language regarding when transactions confirm
    - Elaborate on downgrading warning
    - Other minor language improvements
    - Clarify watch-only behaviour
    
    Github-Pull: #5534
    luke-jr authored and laanwj committed Dec 31, 2014
    Configuration menu
    Copy the full SHA
    d1bcef4 View commit details
    Browse the repository at this point in the history

Commits on Jan 2, 2015

  1. Remove redundant copyright notices from README files

    The normative place for these for the entire project is COPYING,
    and the main README already has a MIT license section.
    
    Rebased-From: e6df2bb
    laanwj committed Jan 2, 2015
    Configuration menu
    Copy the full SHA
    8061d67 View commit details
    Browse the repository at this point in the history
  2. Bump project-wide COPYRIGHT_YEAR to 2015

    There is still a redundancy here between configure.ac and
    clientversion.h.
    
    Rebased-From: edbc904
    laanwj committed Jan 2, 2015
    Configuration menu
    Copy the full SHA
    4f57a3b View commit details
    Browse the repository at this point in the history
  3. depends: fix major regression after d546191.

    Broken hash logic caused all depends on some platforms (osx at least) to end up
    with the same build-id. Without this fix, nothing will be rebuilt when recipes
    or dependencies change.
    
    Rebased-From: d57b303
    Github-Pull: #5586
    theuni authored and laanwj committed Jan 2, 2015
    Configuration menu
    Copy the full SHA
    9241f7a View commit details
    Browse the repository at this point in the history
  4. [Qt] update a translation string and argument counts

    Rebased-From: 643415a
    Github-Pull: #5583
    Philip Kaufmann authored and laanwj committed Jan 2, 2015
    Configuration menu
    Copy the full SHA
    50891ad View commit details
    Browse the repository at this point in the history
  5. Release notes: fix REST URIs and wrap line

    Rebased-From: e64e084
    Github-Pull: #5581
    welshjf authored and laanwj committed Jan 2, 2015
    Configuration menu
    Copy the full SHA
    c202901 View commit details
    Browse the repository at this point in the history
  6. dmg: fix deterministic dmg creation and docs

    Rebased-From: 0d50c2f
    Github-Pull: #5569
    theuni authored and laanwj committed Jan 2, 2015
    Configuration menu
    Copy the full SHA
    221a380 View commit details
    Browse the repository at this point in the history

Commits on Jan 3, 2015

  1. On close of splashscreen interrupt verifyDB

    With the splashscreen being able to be closed it is possible to
    shutdown during the lengthy verifyDB method. (Takes about a minute
    on my machine). This change allows us to shutdown much sooner.
    
    Github-Pull: #5557
    Rebased-From: 70477a0
    Thomas Zander authored and laanwj committed Jan 3, 2015
    Configuration menu
    Copy the full SHA
    94b362d View commit details
    Browse the repository at this point in the history

Commits on Jan 5, 2015

  1. Fix typo in release notes

    petertodd committed Jan 5, 2015
    Configuration menu
    Copy the full SHA
    4a3d3e2 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #5600

    4a3d3e2 Fix typo in release notes (Peter Todd)
    laanwj committed Jan 5, 2015
    Configuration menu
    Copy the full SHA
    68c0580 View commit details
    Browse the repository at this point in the history

Commits on Jan 6, 2015

  1. Update seed IPs, based on bitcoin.sipa.be crawler data

    Rebased-From: be22b3d
    Github-Pull: #5532
    sipa authored and laanwj committed Jan 6, 2015
    Configuration menu
    Copy the full SHA
    58fda4d View commit details
    Browse the repository at this point in the history
  2. bitcoin-tx: Fix JSON validation of prevtxs

    Github-Pull: #5528
    Rebased-From: 2a3d988 a089c50 2c14d15
    ers35 authored and laanwj committed Jan 6, 2015
    Configuration menu
    Copy the full SHA
    06fdf32 View commit details
    Browse the repository at this point in the history

Commits on Jan 7, 2015

  1. Require sufficent priority for relay of free transactions

    Rebased-From: 1c52aad
    Github-Pull: #5535
    sipa authored and laanwj committed Jan 7, 2015
    Configuration menu
    Copy the full SHA
    3022e7d View commit details
    Browse the repository at this point in the history
  2. Bugfix: only track UTXO modification after lookup

    Otherwise, if CCoinsViewCache::ModifyCoins throws an exception in between
    setting hasModifier and constructing the CCoinsModifier, the cache ends up
    in an inconsistent state, resulting in an assert failure in the next
    modification.
    
    Bug discovered by Wladimir J. van der Laan.
    
    Rebased-From: 1c52aad
    Github-Pull: #5597
    sipa authored and laanwj committed Jan 7, 2015
    Configuration menu
    Copy the full SHA
    008138c View commit details
    Browse the repository at this point in the history
  3. Catch LevelDB errors during flush

    Rebased-From: e413457
    Github-Pull: #5597
    sipa authored and laanwj committed Jan 7, 2015
    Configuration menu
    Copy the full SHA
    867c600 View commit details
    Browse the repository at this point in the history

Commits on Jan 8, 2015

  1. Merge pull request #5542

    2ecd294 Bugfix: configure: Correctly detect "nothing to build" condition (Luke Dashjr)
    b7a4ecc Bugfix: Only check for boost when building code that requires it (Luke Dashjr)
    a19eeac Bugfix: configure: Check for openssl/ec.h (Luke Dashjr)
    fe925e2 Use EXTRA_LIBRARIES instead of noinst_LIBRARIES so we can avoid building unused code (Cory Fields)
    laanwj committed Jan 8, 2015
    Configuration menu
    Copy the full SHA
    7fdbedc View commit details
    Browse the repository at this point in the history
  2. Fix smartfees test for change to relay policy

    Github-Pull: #5575
    Rebased-From: 1eb1e65
    sdaftuar authored and laanwj committed Jan 8, 2015
    Configuration menu
    Copy the full SHA
    e2677d7 View commit details
    Browse the repository at this point in the history
  3. tests: run sanity checks in tests too

    If these are going to fail in bitcoind, they should fail in the tests as well.
    
    Github-Pull: #5604
    Rebased-From: d58c5d6
    theuni authored and laanwj committed Jan 8, 2015
    Configuration menu
    Copy the full SHA
    263b65e View commit details
    Browse the repository at this point in the history

Commits on Jan 10, 2015

  1. consensus: guard against openssl's new strict DER checks

    New versions of OpenSSL will reject non-canonical DER signatures. However,
    it'll happily decode them. Decode then re-encode before verification in order
    to ensure that it is properly consumed.
    
    Github-Pull: #5634
    Rebased-From: 488ed32
    theuni authored and laanwj committed Jan 10, 2015
    4 Configuration menu
    Copy the full SHA
    ace39db View commit details
    Browse the repository at this point in the history
  2. depends: bump openssl to 1.0.1k

    Github-Pull: #5634
    Rebased-From: dad7764
    theuni authored and laanwj committed Jan 10, 2015
    Configuration menu
    Copy the full SHA
    2d375fe View commit details
    Browse the repository at this point in the history
  3. fail immediately on an empty signature

    Github-Pull: #5634
    Rebased-From: 8dccba6
    theuni authored and laanwj committed Jan 10, 2015
    Configuration menu
    Copy the full SHA
    76ce5c8 View commit details
    Browse the repository at this point in the history

Commits on Jan 12, 2015

  1. Improve robustness of DER recoding code

    Add some defensive programming on top of #5634.
    
    This copies the respective OpenSSL code in ECDSA_verify in
    OpenSSL pre-1.0.1k (e.g. https://github.com/openssl/openssl/blob/OpenSSL_1_0_1j/crypto/ecdsa/ecs_vrf.c#L89)
    more closely.
    
    As reported by @SergioDemianLerner.
    
    Github-Pull: #5640
    Rebased-From: c6b7b29
    laanwj committed Jan 12, 2015
    Configuration menu
    Copy the full SHA
    12b7c44 View commit details
    Browse the repository at this point in the history
  2. Introduce 10 minute block download timeout

    This will disconnect peers that do not transfer a block in 10 minutes, plus
    5 minutes for every previously queued block with validated headers
    (accomodating downstream bandwidth down to a few kilobytes per second - below
    that the node would have trouble staying synchronized anyway).
    
    Github-Pull: #5608
    Rebased-From: 9161303
    sipa authored and laanwj committed Jan 12, 2015
    Configuration menu
    Copy the full SHA
    a3a7317 View commit details
    Browse the repository at this point in the history
  3. Catch UTXO set read errors and shutdown

    Github-Pull: #5619
    Rebased-From: 13cdce4
    sipa authored and laanwj committed Jan 12, 2015
    Configuration menu
    Copy the full SHA
    4e7c219 View commit details
    Browse the repository at this point in the history
  4. Update 0.10 release notes as of 0.10.0rc2

    Also add 0.9.4's release notes to the archive.
    Added commits based on
    http://sourceforge.net/p/bitcoin/mailman/message/33225960/
    [skip ci]
    Micha committed Jan 12, 2015
    Configuration menu
    Copy the full SHA
    af35bdc View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    c3200bc View commit details
    Browse the repository at this point in the history
  6. Merge pull request #5644

    af35bdc Update 0.10 release notes as of 0.10.0rc2 (Micha)
    laanwj committed Jan 12, 2015
    Configuration menu
    Copy the full SHA
    249bf0e View commit details
    Browse the repository at this point in the history

Commits on Jan 15, 2015

  1. Add a -rpckeepalive and disable RPC use of HTTP persistent connections.

    It turns out that some miners have been staying with old versions of
     Bitcoin Core because their software  behaves poorly with persistent
     connections and the Bitcoin Core thread and connection limits.
    
    What happens is that underlying  HTTP libraries leave connections open
     invisibly to their users and then the user runs into the default four
     thread limit.  This looks like Bitcoin Core is unresponsive to RPC.
    
    There are many things that should be improved in Bitcoin Core's behavior
     here, e.g. supporting more concurrent connections, not tying up threads
     for idle connections, disconnecting kept-alive  connections when limits
     are reached, etc. All are fairly big, risky changes.
    
    Disabling keep-alive is a simple workaround. It's often not easy to turn
     off the keep-alive support in the client where it may be buried in some
     platform library.
    
    If you are one of the few who really needs persistent connections you
     probably know that you want them and can find a switch; while if you
     don't and the misbehavior is hitting you it is hard to discover the
     source of your problems is keepalive related.  Given that it is best
     to default to off until they're handled better.
    
    Github-Merge: #5655
    Rebased-From: 16a5c18 56c1093 1dd8ee7
    gmaxwell authored and laanwj committed Jan 15, 2015
    Configuration menu
    Copy the full SHA
    aaf55d2 View commit details
    Browse the repository at this point in the history

Commits on Jan 19, 2015

  1. Restore RPC HTTP keepalives to default.

    This avoids a regression for issues like #334 where high speed
     repeated connections eventually run the HTTP client out of
     sockets because all of theirs end up in time_wait.
    
    Maybe the trade-off here is suboptimal, but if both choices will
     fail then we prefer fewer changes until the root cause is solved.
    
    Rebased-From: 1a25a7e 7d2cb48
    Github-Pull: #5674
    gmaxwell authored and laanwj committed Jan 19, 2015
    Configuration menu
    Copy the full SHA
    186a517 View commit details
    Browse the repository at this point in the history
  2. qt: fix broken unicode chars on osx 10.10

    - qt: avoid hard-coding font names
    
    They may not contain all necessary characters for a language
    
    - qt: fix broken unicode chars on osx 10.10
    
    The default font changed again.
    
    The real fix is to compile qt against a >= 10.8 sdk, but this is simple enough
    to backport to 0.10 to avoid having to do that there.
    
    Note: NSAppKitVersionNumber is a double and there's no official value for
    NSAppKitVersionNumber10_10. Since == isn't reliable for doubles, use Apple's
    guidelines for testing versions here:
    https://developer.apple.com/library/mac/releasenotes/AppKit/RN-AppKit/
    
    Chinese and Japanese fonts have been hard-coded as well, otherwise they fail to
    show up at all.
    
    - qt: fonts: allow SubstituteFonts to filter based on user's language
    
    SubstituteFonts() has been moved to after app identification so that QSettings
    are accessible.
    
    Github-Pull: #5671
    Rebased-From: 73cd4ed 52954e6 f5ad78b
    theuni authored and laanwj committed Jan 19, 2015
    Configuration menu
    Copy the full SHA
    58259ad View commit details
    Browse the repository at this point in the history

Commits on Jan 23, 2015

  1. fix crash: CoinControl "space" bug

    Just like novacoin-project/novacoin@baf80c2
    
    Github-Pull: #5700
    Rebased-From: 944c256
    fsb4000 authored and laanwj committed Jan 23, 2015
    Configuration menu
    Copy the full SHA
    ed4206a View commit details
    Browse the repository at this point in the history

Commits on Jan 26, 2015

  1. Make empty byte arrays pass CheckSignatureEncoding()

    Makes it possible to compactly provide a delibrately invalid signature
    for use with CHECK(MULTI)SIG. For instance with BIP19 if m != n invalid
    signatures need to be provided in the scriptSig; prior to this change
    those invalid signatures would need to be large DER-encoded signatures.
    
    Note that we may want to further expand on this change in the future by
    saying that only OP_0 is a "valid" invalid signature; BIP19 even with
    this change is inherently malleable as the invalid signatures can be any
    validly encoded DER signature.
    
    Rebased-From: 2fa9a8e
    Github-Pull: #5627
    petertodd authored and laanwj committed Jan 26, 2015
    Configuration menu
    Copy the full SHA
    b24ff47 View commit details
    Browse the repository at this point in the history
  2. sleep-wait on genesis block during init with -reindex

    Rebased-From: ff09e31
    Github-Pull: #5243
    TheBlueMatt authored and laanwj committed Jan 26, 2015
    Configuration menu
    Copy the full SHA
    c5044bc View commit details
    Browse the repository at this point in the history

Commits on Jan 29, 2015

  1. Change Coin Control first column label

    Github-Pull: #5720
    Rebased-From: 55eade9
    fsb4000 authored and laanwj committed Jan 29, 2015
    Configuration menu
    Copy the full SHA
    b61940b View commit details
    Browse the repository at this point in the history

Commits on Jan 30, 2015

  1. [Qt] don't allow amount changes when AmountSpinBox is read-only

    - before it was possible to use the steps to change e.g. amouns of
      authenticated or unauthenticated payment requests (AmountSpinBox is
      already set to read-only here) - this is now fixed
    - also move the reimplemented stepEnabled() function to the
      protected section of our class, where it belongs (see Qt doc)
    
    Github-Pull: #5637
    Rebased-From: 0fd9e2b
    Philip Kaufmann authored and laanwj committed Jan 30, 2015
    Configuration menu
    Copy the full SHA
    6a02ef8 View commit details
    Browse the repository at this point in the history

Commits on Feb 1, 2015

  1. Configuration menu
    Copy the full SHA
    abfbeaf View commit details
    Browse the repository at this point in the history
  2. Example unit tests from BIP66

    sipa committed Feb 1, 2015
    Configuration menu
    Copy the full SHA
    18695f0 View commit details
    Browse the repository at this point in the history
  3. BIP66 changeover logic

    sipa committed Feb 1, 2015
    Configuration menu
    Copy the full SHA
    773c30d View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    6da2028 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    3916a81 View commit details
    Browse the repository at this point in the history

Commits on Feb 2, 2015

  1. Configuration menu
    Copy the full SHA
    fd7350d View commit details
    Browse the repository at this point in the history

Commits on Feb 3, 2015

  1. Merge pull request #5740

    fd7350d doc/release-notes.md: Add summary of mining enhancements (Luke Dashjr)
    laanwj committed Feb 3, 2015
    Configuration menu
    Copy the full SHA
    b788c55 View commit details
    Browse the repository at this point in the history
  2. Use separate SignatureChecker for CMutableTransaction

    Conflicts:
    	src/main.cpp
    	src/script/bitcoinconsensus.cpp
    
    Rebased-From: 858809a
    Github-Pull: #5719
    sipa authored and laanwj committed Feb 3, 2015
    Configuration menu
    Copy the full SHA
    1bbad80 View commit details
    Browse the repository at this point in the history
  3. Avoid storing a reference passed to SignatureChecker constructors

    Rebased-From: 9fddced
    Github-Pull: #5719
    sipa authored and laanwj committed Feb 3, 2015
    Configuration menu
    Copy the full SHA
    2448d34 View commit details
    Browse the repository at this point in the history
  4. Fix priority calculation in CreateTransaction

    Make this projection of priority in 1 block match the calculation in the low priority reject code.
    
    Rebased-From: 2d9b0b7
    Github-Pull: #5675
    morcos authored and laanwj committed Feb 3, 2015
    Configuration menu
    Copy the full SHA
    b6347bf View commit details
    Browse the repository at this point in the history
  5. Merge pull request #5714

    3916a81 Increase coverage of DERSIG edge cases (Pieter Wuille)
    6da2028 Add RPC test for DERSIG BIP switchover logic (Pieter Wuille)
    773c30d BIP66 changeover logic (Pieter Wuille)
    18695f0 Example unit tests from BIP66 (Pieter Wuille)
    abfbeaf Change IsDERSignature to BIP66 implementation (Pieter Wuille)
    laanwj committed Feb 3, 2015
    Configuration menu
    Copy the full SHA
    336f9fb View commit details
    Browse the repository at this point in the history
  6. Increase block download timeout base from 10 to 20 minutes.

    This harmonizes the block fetch timeout with the existing ping timeout
     and eliminates a guaranteed eventual failure from congestion collapse
     for a network operating right at its limit.
    
    It's unlikely that we wouldn't suffer other failures if we were really
     anywhere near the network's limit, and a complete avoidance of congestion
     collapse risk requires (I think) an exponential back-off. So this isn't
     a major concern, but I think it's also useful for reducing the complexity
     of understanding out timeouts.
    
    Github-Pull: #5647
    Rebased-From: 3ff735c
    gmaxwell authored and laanwj committed Feb 3, 2015
    Configuration menu
    Copy the full SHA
    1eb14af View commit details
    Browse the repository at this point in the history

Commits on Feb 5, 2015

  1. Modify release-notes for changes related to free tranactions

    Add comment about free transactions no longer being the default
    Inform about the relay policy change
    morcos committed Feb 5, 2015
    Configuration menu
    Copy the full SHA
    63efb36 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #5755

    63efb36 Modify release-notes for changes related to free tranactions (Alex Morcos)
    laanwj committed Feb 5, 2015
    Configuration menu
    Copy the full SHA
    275400b View commit details
    Browse the repository at this point in the history
  3. Add BIP 66 notice to the 0.10 release notes.

    Conflicts:
    	doc/release-notes.md
    
    Rebased-From: 04ca082
    Github-Pull: #5757
    sipa authored and laanwj committed Feb 5, 2015
    Configuration menu
    Copy the full SHA
    e43f25c View commit details
    Browse the repository at this point in the history

Commits on Feb 8, 2015

  1. Configuration menu
    Copy the full SHA
    7b6c847 View commit details
    Browse the repository at this point in the history

Commits on Feb 9, 2015

  1. Merge pull request #5771

    7b6c847 doc/release-notes.md: Explain affect of BIP66 on miners (Luke Dashjr)
    laanwj committed Feb 9, 2015
    Configuration menu
    Copy the full SHA
    327d3e8 View commit details
    Browse the repository at this point in the history

Commits on Feb 13, 2015

  1. gitian: don't add . to tar list

    Since permissions and timestamps are changed for the sake of determinism,
    . must not be added to the archive. Otherwise, tar may try to modify pwd when
    extracting.
    
    Rebased-From: 0c6ab67
    Github-Pull: #5790
    theuni authored and laanwj committed Feb 13, 2015
    Configuration menu
    Copy the full SHA
    047a898 View commit details
    Browse the repository at this point in the history

Commits on Feb 20, 2015

  1. fix crash: createmultisig and addmultisigaddress

    Rebased-From: e5d9d77
    Github-Pull: #5706
    fsb4000 authored and laanwj committed Feb 20, 2015
    Configuration menu
    Copy the full SHA
    7f502be View commit details
    Browse the repository at this point in the history

Commits on Feb 23, 2015

  1. Acquire CCheckQueue's lock to avoid race condition

    This fixes a potential race condition in the CCheckQueueControl constructor,
    which was looking directly at data in CCheckQueue without acquiring its lock.
    
    Remove the now-unnecessary friendship for CCheckQueueControl
    
    Rebased-From: cf008ac
    Github-Pull: #5721
    sdaftuar authored and laanwj committed Feb 23, 2015
    Configuration menu
    Copy the full SHA
    d148f62 View commit details
    Browse the repository at this point in the history

Commits on Feb 24, 2015

  1. Sanitize command strings before logging them.

    Normally bitcoin core does not display any network originated strings without
     sanitizing or hex encoding.  This wasn't done for strcommand in many places.
    
    This could be used to play havoc with a terminal displaying the logs,
     especially with printtoconsole in use.
    
    Thanks to Evil-Knievel for reporting this issue.
    
    Conflicts:
    	src/main.cpp
    gmaxwell authored and laanwj committed Feb 24, 2015
    Configuration menu
    Copy the full SHA
    23126a0 View commit details
    Browse the repository at this point in the history

Commits on Feb 26, 2015

  1. Better fingerprinting protection for non-main-chain getdatas.

    With headers-first we can compare against the best header timestamp, rather
    than using checkpoints which require code updates to maintain.
    
    Rebased-From: 85da07a
    Github-Pull: #5820
    sipa authored and laanwj committed Feb 26, 2015
    Configuration menu
    Copy the full SHA
    aeb9279 View commit details
    Browse the repository at this point in the history

Commits on Mar 9, 2015

  1. [Qt] fix a issue where "command line options"-action overwrite "Prefe…

    …rence"-action (on OSX)
    
    - fixes #5800
    
    Conflicts:
    	src/qt/bitcoingui.cpp
    
    Rebased-From: 9bbb880
    Github-Pull: #5858
    jonasschnelli authored and laanwj committed Mar 9, 2015
    Configuration menu
    Copy the full SHA
    786cf72 View commit details
    Browse the repository at this point in the history
  2. Limit message sizes before transfer

    This introduces a fixed limit for the size of p2p messages, and enforces it
    before download.
    
    Rebased-From: ba04c4a
    Github-Pull: #5843
    sipa authored and laanwj committed Mar 9, 2015
    Configuration menu
    Copy the full SHA
    d5d8998 View commit details
    Browse the repository at this point in the history
  3. Ignore getaddr messages on Outbound connections.

    The only time when a client sends a "getaddr" message is when he
    esatblishes an Outbound connection (see ProcessMessage() in
    src/main.cpp).  Another bitcoin client is expected to receive a
    "getaddr" message only on Inbound connection. Ignoring "gettaddr"
    requests on Outbound connections can resolve potential privacy issues
    (and as was said such request normally do not happen anyway).
    
    Rebased-From: dca799e
    Github-Pull: #5442
    ivanpustogarov authored and laanwj committed Mar 9, 2015
    Configuration menu
    Copy the full SHA
    200f293 View commit details
    Browse the repository at this point in the history

Commits on Mar 11, 2015

  1. fix possible block db breakage during re-index

    When re-indexing, there are a few cases where garbage data may be skipped in
    the block files. In these cases, the indices are correctly written to the index
    db, however the pointer to the next position for writing in the current block
    file is calculated by adding the sizes of the valid blocks found.
    
    As a result, when the re-index is finished, the index db is correct for all
    existing blocks, but the next block will be written to an incorrect offset,
    likely overwriting existing blocks.
    
    Rather than using the sum of all valid blocks to determine the next write
    position, use the end of the last block written to the file. Don't assume that
    the current block is the last one in the file, since they may be read
    out-of-order.
    
    Rebased-From: bb6acff
    Github-Pull: #5864
    theuni authored and laanwj committed Mar 11, 2015
    Configuration menu
    Copy the full SHA
    002c8a2 View commit details
    Browse the repository at this point in the history

Commits on Mar 12, 2015

  1. fix InvalidateBlock to repopulate setBlockIndexCandidates

    Rebased-From: a9af415
    Github-Pull: #5879
    morcos authored and laanwj committed Mar 12, 2015
    Configuration menu
    Copy the full SHA
    c91c660 View commit details
    Browse the repository at this point in the history
  2. add RPC test for InvalidateBlock

    Rebased-From: 88f6c8c
    Github-Pull: #5879
    morcos authored and laanwj committed Mar 12, 2015
    Configuration menu
    Copy the full SHA
    1117378 View commit details
    Browse the repository at this point in the history

Commits on Mar 16, 2015

  1. [QT] fix OSX dock icon window reopening

    fixes #5878
    
    Rebased-From: 89e70e9
    Github-Pull: #5880
    jonasschnelli authored and laanwj committed Mar 16, 2015
    Configuration menu
    Copy the full SHA
    81145a6 View commit details
    Browse the repository at this point in the history
  2. [QT] some mac specifiy cleanup (memory handling, unnecessary code)

    Rebased-From: 8b60808
    Github-Pull: #5880
    jonasschnelli authored and laanwj committed Mar 16, 2015
    Configuration menu
    Copy the full SHA
    2c08406 View commit details
    Browse the repository at this point in the history

Commits on Mar 17, 2015

  1. Reduce fingerprinting through timestamps in 'addr' messages.

    Suggested by Jonas Nick.
    
    Rebased-From: 9c27379
    Github-Pull: #5860
    sipa authored and laanwj committed Mar 17, 2015
    Configuration menu
    Copy the full SHA
    ca301bf View commit details
    Browse the repository at this point in the history

Commits on Mar 18, 2015

  1. Configuration menu
    Copy the full SHA
    601327b View commit details
    Browse the repository at this point in the history

Commits on Mar 19, 2015

  1. 0.10 fix for crashes on OSX 10.6

    strnlen is available at build-time but not at runtime, causing a crash.
    
    0.11 drops support for 10.6, so this is not needed in master.
    theuni committed Mar 19, 2015
    Configuration menu
    Copy the full SHA
    8752b5c View commit details
    Browse the repository at this point in the history
  2. Merge pull request #5926

    8752b5c 0.10 fix for crashes on OSX 10.6 (Cory Fields)
    laanwj committed Mar 19, 2015
    Configuration menu
    Copy the full SHA
    10c09f9 View commit details
    Browse the repository at this point in the history

Commits on Mar 24, 2015

  1. Initialization: set Boost path locale in main thread

    The path locale is lazy initialized and to avoid deinitialization errors
    in multithreading environments, it is set explicitly by the main thread.
    
    Conflicts:
    	src/util.cpp
    Rebased-From: 317e66c
    Github-Pull: #5877
    dexX7 authored and laanwj committed Mar 24, 2015
    Configuration menu
    Copy the full SHA
    c9e022b View commit details
    Browse the repository at this point in the history
  2. Fix InvalidateBlock to add chainActive.Tip to setBlockIndexCandidates

    Rebased-From: cd3d67c
    Github-Pull: #5890
    morcos authored and laanwj committed Mar 24, 2015
    Configuration menu
    Copy the full SHA
    1d2cdd2 View commit details
    Browse the repository at this point in the history

Commits on Mar 25, 2015

  1. Configuration menu
    Copy the full SHA
    a316622 View commit details
    Browse the repository at this point in the history

Commits on Mar 26, 2015

  1. don't trickle for whitelisted nodes

    Rebased-From: fc72020
    Github-Pull: #5942
    rubensayshi authored and laanwj committed Mar 26, 2015
    Configuration menu
    Copy the full SHA
    78f64ef View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0eccf0a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4635a4c View commit details
    Browse the repository at this point in the history

Commits on Mar 28, 2015

  1. Add a consistency check for the block chain data structures

    This adds a -checkblockindex (defaulting to true for regtest), which occasionally
    does a full consistency check for mapBlockIndex, setBlockIndexCandidates, chainActive, and
    mapBlocksUnlinked.
    sipa committed Mar 28, 2015
    Configuration menu
    Copy the full SHA
    a1f425b View commit details
    Browse the repository at this point in the history

Commits on Mar 30, 2015

  1. Configuration menu
    Copy the full SHA
    90bef66 View commit details
    Browse the repository at this point in the history

Commits on Apr 1, 2015

  1. Switch addrman key from vector to uint256

    Conflicts:
    	src/addrman.cpp
    
    Rebased-From: b23add5
    Github-Pull: #5941
    sipa authored and laanwj committed Apr 1, 2015
    Configuration menu
    Copy the full SHA
    b788994 View commit details
    Browse the repository at this point in the history
  2. Make addrman's bucket placement deterministic.

    Give each address a single fixed location in the new and tried tables,
    which become simple fixed-size arrays instead of sets and vectors.
    
    This prevents attackers from having an advantages by inserting an
    address multiple times.
    
    This change was suggested as Countermeasure 1 in
    Eclipse Attacks on Bitcoin’s Peer-to-Peer Network, Ethan Heilman,
    Alison Kendler, Aviv Zohar, Sharon Goldberg. ePrint Archive Report
    2015/263. March 2015.
    
    It is also more efficient.
    
    Conflicts:
    	src/addrman.cpp
    	src/addrman.h
    
    Rebased-From: e6b343d
    Github-Pull: #5941
    sipa authored and laanwj committed Apr 1, 2015
    Configuration menu
    Copy the full SHA
    cf0218f View commit details
    Browse the repository at this point in the history
  3. Simplify hashing code

    Conflicts:
    	src/addrman.cpp
    
    Rebased-From: a8ff7c6
    Github-Pull: #5941
    sipa authored and laanwj committed Apr 1, 2015
    Configuration menu
    Copy the full SHA
    2218d4b View commit details
    Browse the repository at this point in the history
  4. Do not bias outgoing connections towards fresh addresses

    This change was suggested as Countermeasure 2 in
    Eclipse Attacks on Bitcoin’s Peer-to-Peer Network, Ethan Heilman,
    Alison Kendler, Aviv Zohar, Sharon Goldberg. ePrint Archive Report
    2015/263. March 2015.
    
    Rebased-From: 68ba3f67bd500a64fb8932c6b41924ddc31d76f
    Github-Pull: #5941
    sipa authored and laanwj committed Apr 1, 2015
    Configuration menu
    Copy the full SHA
    214154e View commit details
    Browse the repository at this point in the history
  5. Always use a 50% chance to choose between tried and new entries

    This change was suggested as Countermeasure 2 in
    Eclipse Attacks on Bitcoin’s Peer-to-Peer Network, Ethan Heilman,
    Alison Kendler, Aviv Zohar, Sharon Goldberg. ePrint Archive Report
    2015/263. March 2015.
    
    Rebased-From: c6a63ce
    Github-Pull: #5941
    sipa authored and laanwj committed Apr 1, 2015
    Configuration menu
    Copy the full SHA
    0c6f334 View commit details
    Browse the repository at this point in the history
  6. Scale up addrman

    This change was suggested as Countermeasure 6 in
    Eclipse Attacks on Bitcoin’s Peer-to-Peer Network, Ethan Heilman,
    Alison Kendler, Aviv Zohar, Sharon Goldberg. ePrint Archive Report
    2015/263. March 2015.
    
    Rebased-From: 1d21ba2
    Github-Pull: #5941
    sipa authored and laanwj committed Apr 1, 2015
    Configuration menu
    Copy the full SHA
    aa587d4 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    ae1479a View commit details
    Browse the repository at this point in the history
  8. Merge pull request #5953

    a1f425b Add a consistency check for the block chain data structures (Pieter Wuille)
    
    This is a port of #5900 to 0.10.
    
    Github-Pull: #5900
    laanwj committed Apr 1, 2015
    Configuration menu
    Copy the full SHA
    2b7636c View commit details
    Browse the repository at this point in the history
  9. 1 Configuration menu
    Copy the full SHA
    fe31225 View commit details
    Browse the repository at this point in the history
  10. doc: add historical release notes for 0.10.0

    Rebased-From: 15facb4
    laanwj committed Apr 1, 2015
    Configuration menu
    Copy the full SHA
    9e1cc16 View commit details
    Browse the repository at this point in the history

Commits on Apr 2, 2015

  1. Docs: Use new Bitcoin.org download URLs

    To give the torrents (which use web seeds) better names, we updated the
    URL scheme on bitcoin.org/bin. This updates the release notes and
    release doc accordingly, plus updates some other details based on recent
    changes to the site.
    
    [skip ci]
    harding committed Apr 2, 2015
    Configuration menu
    Copy the full SHA
    bf1cc80 View commit details
    Browse the repository at this point in the history

Commits on Apr 3, 2015

  1. Merge pull request #5961

    bf1cc80 Docs: Use new Bitcoin.org download URLs (David A. Harding)
    laanwj committed Apr 3, 2015
    Configuration menu
    Copy the full SHA
    24e4899 View commit details
    Browse the repository at this point in the history

Commits on Apr 6, 2015

  1. doc: Credit Jonas Nick in release notes

    For discovering the vulnerability and discussing the fix that led to PR #5860.
    laanwj committed Apr 6, 2015
    Configuration menu
    Copy the full SHA
    149c1d8 View commit details
    Browse the repository at this point in the history
  2. Keep mempool consistent during block-reorgs

    This fixes a subtle bug involving block re-orgs and non-standard transactions.
    
    Start with a block containing a non-standard transaction, and
    one or more transactions spending it in the memory pool.
    
    Then re-org away from that block to another chain that does
    not contain the non-standard transaction.
    
    Result before this fix: the dependent transactions get stuck
    in the mempool without their parent, putting the mempool
    in an inconsistent state.
    
    Tested with a new unit test (adapted for 0.10).
    
    Rebased-From: ad9e86d
    Github-Pull: #5945
    gavinandresen authored and laanwj committed Apr 6, 2015
    Configuration menu
    Copy the full SHA
    1c62e84 View commit details
    Browse the repository at this point in the history

Commits on Apr 9, 2015

  1. Configuration menu
    Copy the full SHA
    34127c7 View commit details
    Browse the repository at this point in the history

Commits on Apr 14, 2015

  1. Fix missing lock in submitblock

    Rebased-From: eb63bf8
    Github-Pull: #6007
    TheBlueMatt authored and laanwj committed Apr 14, 2015
    Configuration menu
    Copy the full SHA
    eae305f View commit details
    Browse the repository at this point in the history

Commits on Apr 16, 2015

  1. Fix CheckBlockIndex for reindex.

    Some tests in CheckBlockIndex require chainActive.Tip(), but when reindexing, chainActive has not been set on the first call to CheckBlockIndex.
    
    reindex.py starts a node, mines 3 blocks, stops, and reindexes with CheckBlockIndex enabled.
    
    Rebased-From: 0421c18
    Github-Pull: #6012
    mrbandrews authored and laanwj committed Apr 16, 2015
    Configuration menu
    Copy the full SHA
    57d1f46 View commit details
    Browse the repository at this point in the history

Commits on Apr 18, 2015

  1. Initialization: set fallback locale as environment variable

    The scope of `std::locale::global` appears to be smaller than `setenv("LC_ALL", ...)` and insufficient to fix messed up locale settings for the whole application.
    dexX7 committed Apr 18, 2015
    Configuration menu
    Copy the full SHA
    df45564 View commit details
    Browse the repository at this point in the history
  2. Initialization: setup environment before starting tests

    The environment is prepared by the main thread to guard against invalid locale settings and to prevent deinitialization issues of Boost path, which can result in app crashes.
    dexX7 committed Apr 18, 2015
    Configuration menu
    Copy the full SHA
    7494e09 View commit details
    Browse the repository at this point in the history
  3. Initialization: setup environment before starting QT tests

    The environment is prepared by the main thread to guard against invalid locale settings.
    dexX7 committed Apr 18, 2015
    Configuration menu
    Copy the full SHA
    323de27 View commit details
    Browse the repository at this point in the history

Commits on Apr 20, 2015

  1. Merge pull request #6025

    323de27 Initialization: setup environment before starting QT tests (dexX7)
    7494e09 Initialization: setup environment before starting tests (dexX7)
    df45564 Initialization: set fallback locale as environment variable (dexX7)
    laanwj committed Apr 20, 2015
    Configuration menu
    Copy the full SHA
    3a70613 View commit details
    Browse the repository at this point in the history
  2. Set nSequenceId when a block is fully linked

    Also adds a test to CheckBlockIndex
    
    Conflicts:
    	src/main.cpp
    
    Rebased-From: c1ecee8
    Github-Pull: #6010
    sdaftuar authored and laanwj committed Apr 20, 2015
    Configuration menu
    Copy the full SHA
    bac6fca View commit details
    Browse the repository at this point in the history
  3. Cap nAttempts penalty at 8 and switch to pow instead of a division loop.

    On hosts that had spent some time with a failed internet connection their
     nAttempts penalty was going through the roof (e.g. thousands for all peers)
     and as a result the connect search was pegging the CPU and failing to get
     more than a 4 connections after days of running (because it was taking so
     long per try).
    
    Rebased-From: a784f90
    Github-Pull: #6029
    gmaxwell authored and laanwj committed Apr 20, 2015
    Configuration menu
    Copy the full SHA
    139cd81 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    bf8ad0d View commit details
    Browse the repository at this point in the history

Commits on Apr 25, 2015

  1. doc: improve credits in release notes

    gmaxwell authored and laanwj committed Apr 25, 2015
    Configuration menu
    Copy the full SHA
    d8ac901 View commit details
    Browse the repository at this point in the history

Commits on May 4, 2015

  1. Configuration menu
    Copy the full SHA
    ebc0e41 View commit details
    Browse the repository at this point in the history

Commits on May 6, 2015

  1. wallet: fix boost::get usage with boost 1.58

    Backport from master
    theuni committed May 6, 2015
    Configuration menu
    Copy the full SHA
    824c011 View commit details
    Browse the repository at this point in the history

Commits on May 7, 2015

  1. Merge pull request #6114

    824c011 wallet: fix boost::get usage with boost 1.58 (Cory Fields)
    laanwj committed May 7, 2015
    Configuration menu
    Copy the full SHA
    9a5b88c View commit details
    Browse the repository at this point in the history

Commits on May 10, 2015

  1. don't imbue boost::filesystem::path with locale "C" on windows

    fixes #6078
    
    Github-Pull: #6093
    Rebased-From: b3ffcdf 3da7849
    jonasschnelli authored and laanwj committed May 10, 2015
    Configuration menu
    Copy the full SHA
    424ae66 View commit details
    Browse the repository at this point in the history

Commits on May 12, 2015

  1. Configuration menu
    Copy the full SHA
    d7e7727 View commit details
    Browse the repository at this point in the history
  2. Translations update

    laanwj committed May 12, 2015
    Configuration menu
    Copy the full SHA
    49e4d14 View commit details
    Browse the repository at this point in the history
  3. Avoid crash on start in TestBlockValidity with gen=1.

    When the internal miner is enabled at the start of a new node, there
     is an near instant assert in TestBlockValidity because its attempting
     to mine a block before the top checkpoint.
    
    Also avoids a data race around vNodes.
    
    Github-Pull: #6123
    Rebased-From: bba7c24
    gmaxwell authored and laanwj committed May 12, 2015
    Configuration menu
    Copy the full SHA
    da65606 View commit details
    Browse the repository at this point in the history
  4. Release notes 0.10.2

    laanwj committed May 12, 2015
    2 Configuration menu
    Copy the full SHA
    ff32503 View commit details
    Browse the repository at this point in the history

Commits on May 16, 2015

  1. Configuration menu
    Copy the full SHA
    16f4560 View commit details
    Browse the repository at this point in the history

Commits on May 27, 2015

  1. Simplify code for CSubnet

    Simplify the code by using CAddress.ip directly, instead of the reversed
    GetByte() semantics.
    
    Rebased-From: 19e8d7b
    Github-Pull: #6186
    laanwj committed May 27, 2015
    1 Configuration menu
    Copy the full SHA
    e4a7d51 View commit details
    Browse the repository at this point in the history
  2. Fix two problems in CSubNet parsing

    Fix two CSubNet constructor problems:
    
    - The use of `/x` where 8 does not divide x was broken, due to a
      bit-order issue
    
    - The use of e.g. `1.2.3.4/24` where the netmasked bits in the network
      are not 0 was broken. Fix this by explicitly normalizing the netwok
      according to the bitmask.
    
    Also add tests for these cases.
    
    Fixes #6179. Thanks to @jonasschnelli for reporting and initial fix.
    
    Rebased-From: b45c50c
    Github-Pull: #6186
    laanwj committed May 27, 2015
    Configuration menu
    Copy the full SHA
    ae3d8f3 View commit details
    Browse the repository at this point in the history
  3. Parameter interaction: disable upnp if -proxy set

    To protect privacy, do not use UPNP when a proxy is set. The user may
    still specify -listen=1 to listen locally (for a hidden service), so
    don't rely on this happening through -listen.
    
    Fixes #2927.
    
    Conflicts:
    	src/init.cpp
    
    Rebased-From: 8c35b6f
    Github-Pull: #6153
    laanwj committed May 27, 2015
    Configuration menu
    Copy the full SHA
    ebd7d8d View commit details
    Browse the repository at this point in the history

Commits on Jun 2, 2015

  1. Remove P2SH coinbase flag, no longer interesting

    Github-Pull: #6203
    Rebased-From: d449772
    luke-jr authored and laanwj committed Jun 2, 2015
    Configuration menu
    Copy the full SHA
    ecc96f5 View commit details
    Browse the repository at this point in the history

Commits on Jun 3, 2015

  1. json: fail read_string if string contains trailing garbage

    Change `read_string` to fail when not the entire input has been
    consumed. This avoids unexpected, even dangerous behavior (fixes #6223).
    
    The new JSON parser adapted in #6121 also solves this problem so in
    master this is a temporary fix, but should be backported to older releases.
    
    Also adds tests for the new behavior.
    
    Github-Pull: #6226
    Rebased-From: 4e157fc
    laanwj committed Jun 3, 2015
    Configuration menu
    Copy the full SHA
    181771b View commit details
    Browse the repository at this point in the history

Commits on Jun 10, 2015

  1. configure: Detect (and reject) LibreSSL

    Rebased-From: a5a81f7
    Github-Pull: #6244
    luke-jr authored and laanwj committed Jun 10, 2015
    Configuration menu
    Copy the full SHA
    09334e0 View commit details
    Browse the repository at this point in the history

Commits on Jun 15, 2015

  1. Fix getbalance *

    Chance "getbalance *" not to use IsTrusted.  The method and result
    now match the "getbalance <specific-account>" behavior. In
    particular, "getbalance * 0" now works.
    
    Also fixed a comment -- GetGalance has required 1 confirmation
    for many years, and the default "getbalance *" behavior matches
    that.
    
    Github-Pull: #6276
    Rebased-From: 7d6a85a
    Rebased-By: @trasher-
    dgenr8 authored and laanwj committed Jun 15, 2015
    Configuration menu
    Copy the full SHA
    0fd8464 View commit details
    Browse the repository at this point in the history
  2. Add option -alerts to opt out of alert system

    Make it possible to opt-out of the centralized alert system by providing
    an option `-noalerts` or `-alerts=0`. The default remains unchanged.
    
    This is a gentler form of #6260, in which I went a bit overboard by
    removing the alert system completely.
    
    I intend to add this to the GUI options in another pull after this.
    
    Conflicts:
    	src/init.cpp
    	src/main.cpp
    
    Github-Pull: #6274
    Rebased-From: 02a6702
    laanwj committed Jun 15, 2015
    Configuration menu
    Copy the full SHA
    be64204 View commit details
    Browse the repository at this point in the history

Commits on Jun 22, 2015

  1. doc: update mailing list address

    Move from sourceforge to linux foundation.
    
    Also get rid of some other stale mentions of sourceforge.
    
    Github-Pull: #6319
    Rebased-From: 88d8525
    laanwj committed Jun 22, 2015
    Configuration menu
    Copy the full SHA
    3f55638 View commit details
    Browse the repository at this point in the history

Commits on Jul 17, 2015

  1. openssl: avoid config file load/race

    Rebased-From: d4b1d5a
    Github-Pull: #6438
    theuni authored and laanwj committed Jul 17, 2015
    Configuration menu
    Copy the full SHA
    7e66e9c View commit details
    Browse the repository at this point in the history
  2. Updated URL location of netinstall for Debian

    Conflicts:
    	doc/gitian-building.md
    
    Github-Pull: #6439
    Rebased-From: 09d4ddf
    btcdrak authored and laanwj committed Jul 17, 2015
    Configuration menu
    Copy the full SHA
    255eced View commit details
    Browse the repository at this point in the history

Commits on Jul 20, 2015

  1. Test whether created sockets are select()able

    Conflicts:
    	src/net.cpp
    
    Github-Pull: #6412
    Rebased-From: d422f9b
    sipa authored and laanwj committed Jul 20, 2015
    Configuration menu
    Copy the full SHA
    0739e6e View commit details
    Browse the repository at this point in the history
  2. Fix warning introduced by #6412

    SOCKET are defined as unsigned integers, thus always >=0.
    
    Rebased-From: 89289d8
    laanwj committed Jul 20, 2015
    Configuration menu
    Copy the full SHA
    ae52a7f View commit details
    Browse the repository at this point in the history

Commits on Sep 21, 2015

  1. Configuration menu
    Copy the full SHA
    8b59079 View commit details
    Browse the repository at this point in the history
  2. Avoid leaking file descriptors in RegisterLoad

    This is pretty trivial, but if there's an error here we'll leak a file
    descriptor. Changed it to always close the file.
    casey authored and luke-jr committed Sep 21, 2015
    Configuration menu
    Copy the full SHA
    04507de View commit details
    Browse the repository at this point in the history
  3. build: fix libressl detection

    Checking libcrypto for a function after we've already found a (possibly
    different) libcrypto is not what we want to do here.
    
    pkg-config might've found a cross lib while AC_CHECK_LIB may find a different
    or native one.
    
    Run a link-test against the lib that's already been found instead.
    theuni authored and luke-jr committed Sep 21, 2015
    Configuration menu
    Copy the full SHA
    3861f0f View commit details
    Browse the repository at this point in the history
  4. Make sure LogPrint strings are line-terminated

    J Ross Nicoll authored and luke-jr committed Sep 21, 2015
    Configuration menu
    Copy the full SHA
    4e5ea71 View commit details
    Browse the repository at this point in the history
  5. Use unique name for AlertNotify tempfile

    casey authored and luke-jr committed Sep 21, 2015
    Configuration menu
    Copy the full SHA
    843469e View commit details
    Browse the repository at this point in the history
  6. Handle leveldb::DestroyDB() errors on wipe failure

    Add error checking to CLevelDBWrapper for errors from
    leveldb::DestroyDB().  Without it, if unlink() or DeleteFileW() fail to
    delete files, they will fail silent.  If they fail to delete any files,
    CLevelDBWrapper will silently open and read the existing database.
    
    Typically any permissions issues would be caught by leveldb as it churns
    through many files as part of its compaction process, but it is
    conceivable that this could cause problems on Windows with anti-virus
    and indexing software.
    ajweiss authored and luke-jr committed Sep 21, 2015
    Configuration menu
    Copy the full SHA
    28d76d2 View commit details
    Browse the repository at this point in the history
  7. Add missing files to files.md

    typo
    fanquake authored and luke-jr committed Sep 21, 2015
    Configuration menu
    Copy the full SHA
    65426ac View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    bdf2542 View commit details
    Browse the repository at this point in the history
  9. add unit test for CNetAddr::GetGroup.

    morcos authored and luke-jr committed Sep 21, 2015
    Configuration menu
    Copy the full SHA
    0194bdd View commit details
    Browse the repository at this point in the history
  10. net: Set SO_REUSEADDR for Windows too

    When running the rpc tests in Wine, nodes often fail to listen on localhost
    due to a stale socket from a previous run. This aligns the behavior with other
    platforms.
    theuni authored and luke-jr committed Sep 21, 2015
    Configuration menu
    Copy the full SHA
    c9ad65e View commit details
    Browse the repository at this point in the history
  11. rpc-tests: re-enable rpc-tests for Windows

    theuni authored and luke-jr committed Sep 21, 2015
    Configuration menu
    Copy the full SHA
    0dfcdd4 View commit details
    Browse the repository at this point in the history
  12. add support for miniupnpc api version 14

    The value of new arg ttl is set to 2 as it's recommended default.
    recursive-rat4 authored and luke-jr committed Sep 21, 2015
    Configuration menu
    Copy the full SHA
    2ede6b7 View commit details
    Browse the repository at this point in the history
  13. PARTIAL: typofixes (found by misspell_fixer)

    Upstream: 9f68ed6 (PR #6539)
    vlajos authored and luke-jr committed Sep 21, 2015
    Configuration menu
    Copy the full SHA
    ceba0f8 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    5e6d893 View commit details
    Browse the repository at this point in the history

Commits on Sep 22, 2015

  1. [QT] fix thin space word wrap line brake issue

    The thin space QT html hack results in cut-off chars/nums after a line break.
    
    Avoid word wrap line breaks by using a smaller font and a line break before each alternative value)
    
    Rebased-From: 24cb7c7
    Github-Pull: #6694
    jonasschnelli authored and laanwj committed Sep 22, 2015
    Configuration menu
    Copy the full SHA
    f696ea1 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #6704

    5e6d893 travis: for travis generating an extra build (Cory Fields)
    ceba0f8 PARTIAL: typofixes (found by misspell_fixer) (Veres Lajos)
    2ede6b7 add support for miniupnpc api version 14 (Pavel Vasin)
    0dfcdd4 rpc-tests: re-enable rpc-tests for Windows (Cory Fields)
    c9ad65e net: Set SO_REUSEADDR for Windows too (Cory Fields)
    0194bdd add unit test for CNetAddr::GetGroup. (Alex Morcos)
    bdf2542 Fix masking of irrelevant bits in address groups. (Alex Morcos)
    65426ac Add missing files to files.md (fanquake)
    28d76d2 Handle leveldb::DestroyDB() errors on wipe failure (Adam Weiss)
    843469e Use unique name for AlertNotify tempfile (Casey Rodarmor)
    4e5ea71 Make sure LogPrint strings are line-terminated (J Ross Nicoll)
    3861f0f build: fix libressl detection (Cory Fields)
    04507de Avoid leaking file descriptors in RegisterLoad (Casey Rodarmor)
    8b59079 Add autogen.sh to source tarball. (randy-waterhouse)
    laanwj committed Sep 22, 2015
    Configuration menu
    Copy the full SHA
    743cc9e View commit details
    Browse the repository at this point in the history

Commits on Sep 29, 2015

  1. Configuration menu
    Copy the full SHA
    9bd0b4a View commit details
    Browse the repository at this point in the history

Commits on Oct 7, 2015

  1. Test LowS in standardness, removes nuisance malleability vector.

    This adds SCRIPT_VERIFY_LOW_S to STANDARD_SCRIPT_VERIFY_FLAGS which
     will make the node require the canonical 'low-s' encoding for
     ECDSA signatures when relaying or mining.
    
    Consensus behavior is unchanged.
    
    The rational is explained in a81cd96:
     Absent this kind of test ECDSA is not a strong signature as given
     a valid signature {r, s} both that value and {r, -s mod n} are valid.
     These two encodings have different hashes allowing third parties a
     vector to change users txids.  These attacks are avoided by picking
     a particular form as canonical and rejecting the other form(s); in
     the of the LOW_S rule, the smaller of the two possible S values is
     used.
    
    If widely deployed this change would eliminate the last remaining
     known vector for nuisance malleability on boring SIGHASH_ALL
     p2pkh transactions.  On the down-side it will block most
     transactions made by sufficiently out of date software.
    
    Unlike the other avenues to change txids on boring transactions this
     one was randomly violated by all deployed bitcoin software prior to
     its discovery.  So, while other malleability vectors where made
     non-standard as soon as they were discovered, this one has remained
     permitted.  Even BIP62 did not propose applying this rule to
     old version transactions, but conforming implementations have become
     much more common since BIP62 was initially written.
    
    Bitcoin Core has produced compatible signatures since a28fb70 in
     September 2013, but this didn't make it into a release until 0.9
     in March 2014; Bitcoinj has done so for a similar span of time.
     Bitcoinjs and electrum have been more recently updated.
    
    This does not replace the need for BIP62 or similar, as miners can
     still cooperate to break transactions.  Nor does it replace the
     need for wallet software to handle malleability sanely[1]. This
     only eliminates the cheap and irritating DOS attack.
    
    [1] On the Malleability of Bitcoin Transactions
    Marcin Andrychowicz, Stefan Dziembowski, Daniel Malinowski, Łukasz Mazurek
    http://fc15.ifca.ai/preproceedings/bitcoin/paper_9.pdf
    
    Conflicts:
    	src/policy/policy.h
    
    Rebased-From: b196b68
    Github-Pull: #6769
    gmaxwell authored and laanwj committed Oct 7, 2015
    Configuration menu
    Copy the full SHA
    1cea6b0 View commit details
    Browse the repository at this point in the history

Commits on Oct 8, 2015

  1. Make CScriptNum() take nMaxNumSize as an argument

    While the existing numeric opcodes are all limited to 4-byte bignum
    arguments, new opcodes will need different limits.
    
    Rebased-From: 99088d6
    petertodd committed Oct 8, 2015
    Configuration menu
    Copy the full SHA
    6897468 View commit details
    Browse the repository at this point in the history
  2. Move LOCKTIME_THRESHOLD to src/script/script.h

    Will now be needed by CHECKLOCKTIMEVERIFY code.
    
    Rebased-From: 48e9c57
    petertodd committed Oct 8, 2015
    Configuration menu
    Copy the full SHA
    750d54f View commit details
    Browse the repository at this point in the history
  3. Replace NOP2 with CHECKLOCKTIMEVERIFY (BIP65)

    <nLockTime> CHECKLOCKTIMEVERIFY -> <nLockTime>
    
    Fails if tx.nLockTime < nLockTime, allowing the funds in a txout to be
    locked until some block height or block time in the future is reached.
    
    Only the logic and unittests are implemented; this commit does not have
    any actual soft-fork logic in it.
    
    Thanks to Pieter Wuille for rebase.
    
    Credit goes to Gregory Maxwell for the suggestion of comparing the
    argument against the transaction nLockTime rather than the current
    time/blockheight directly.
    
    Rebased-From: bc60b2b
    petertodd committed Oct 8, 2015
    Configuration menu
    Copy the full SHA
    6d01325 View commit details
    Browse the repository at this point in the history
  4. Enable CHECKLOCKTIMEVERIFY as a standard script verify flag

    Transactions that fail CLTV verification will be rejected from the
    mempool, making it easy to test the feature. However blocks containing
    "invalid" CLTV-using transactions will still be accepted; this is *not*
    the soft-fork required to actually enable CLTV for production use.
    
    Rebased-From: ffd75ad
    petertodd committed Oct 8, 2015
    Configuration menu
    Copy the full SHA
    0e01d0f View commit details
    Browse the repository at this point in the history
  5. Add CHECKLOCKTIMEVERIFY (BIP65) soft-fork logic

    Based on the earlier BIP66 soft-fork logic implemented by Pieter
    Wuille's 5a47811
    
    Rebased-From: 287f54f
    petertodd committed Oct 8, 2015
    Configuration menu
    Copy the full SHA
    4137248 View commit details
    Browse the repository at this point in the history
  6. Add RPC tests for the CHECKLOCKTIMEVERIFY (BIP65) soft-fork

    bip65-cltv.py is based on the earlier BIP66 soft-fork RPC test
    implemented by Pieter Wuille's 819bcf9
    
    bip65-cltv-p2p.py is based on the earlier BIP66 P2P test by Suhas
    Daftuar's d76412b
    
    Rebased-From: 3082578
    petertodd committed Oct 8, 2015
    Configuration menu
    Copy the full SHA
    6a1343b View commit details
    Browse the repository at this point in the history
  7. CLTV: Add more tests to improve coverage

    Four cases included:
    
    * The CLTV operand type mismatches the tx locktime. In the script it is
      1 (interpreted as block height), but in the tx is 500000000
      (interpreted as date)
    * The stack is empty when executing OP_CLTV
    * The tx is final by having only one input with MAX_INT sequence number
    * The operand for CLTV is negative (after OP_0 OP_1 OP_SUB)
    
    Rebased-From: cb54d17
    eordano authored and petertodd committed Oct 8, 2015
    Configuration menu
    Copy the full SHA
    5dc72f8 View commit details
    Browse the repository at this point in the history

Commits on Oct 9, 2015

  1. Update miniupnpc to 1.9.20151008

    This version of miniupnpc fixes a buffer overflow in the XML (ugh)
    parser during initial network discovery.
    
    http://talosintel.com/reports/TALOS-2015-0035/
    
    The commit fixing the vulnerability is:
    miniupnp/miniupnp@79cca97
    
    Reported by timothy on IRC.
    
    Github-Pull: #6789
    Rebased-From: 0cca024
    laanwj committed Oct 9, 2015
    Configuration menu
    Copy the full SHA
    093d7b5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1bf6ac6 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    44d6bc8 View commit details
    Browse the repository at this point in the history
  4. Bump version to 0.10.3

    laanwj committed Oct 9, 2015
    Configuration menu
    Copy the full SHA
    cf5bf55 View commit details
    Browse the repository at this point in the history

Commits on Oct 10, 2015

  1. net: Disable upnp by default

    Common sentiment is that the miniupnpc codebase likely contains further
    vulnerabilities.
    
    I'd prefer to get rid of the dependency completely, but a compromise for
    now is to at least disable it by default.
    
    Rebased-From: 21d27eb
    Github-Pull: #6795
    laanwj committed Oct 10, 2015
    Configuration menu
    Copy the full SHA
    f2778e0 View commit details
    Browse the repository at this point in the history
  2. Do not store more than 200 timedata samples.

    Github-Pull: #6797
    Rebased-From: 8be371d
    paveljanik authored and laanwj committed Oct 10, 2015
    Configuration menu
    Copy the full SHA
    91ef4d9 View commit details
    Browse the repository at this point in the history

Commits on Oct 11, 2015

  1. Bump minrelaytxfee default

    To bridge the time until a dynamic method for determining this fee is
    merged.
    
    This is especially aimed at the stable releases (0.10, 0.11) because
    full mempool limiting, as will be in 0.12, is too invasive and risky to
    backport.
    
    Github-Pull: #6793
    Rebased-From: 28e3249 4e2efb3
    laanwj committed Oct 11, 2015
    Configuration menu
    Copy the full SHA
    842c48d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8d598c2 View commit details
    Browse the repository at this point in the history

Commits on Oct 15, 2015

  1. Bring historical release notes up to date

    [skip ci]
    Micha committed Oct 15, 2015
    Configuration menu
    Copy the full SHA
    fb818b6 View commit details
    Browse the repository at this point in the history

Commits on Oct 19, 2015

  1. build: make sure OpenSSL heeds noexecstack

    This passes `-Wa,--noexecstack` to the assembler when building
    platform-specific assembly files, to signal that a non-executable stack
    can be used. This is the same approach as used by Debian
    (see https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=430583)
    
    Rebased-From: bfcdc21
    Github-Pull: #6852
    laanwj committed Oct 19, 2015
    Configuration menu
    Copy the full SHA
    0b3fd07 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #6836

    fb818b6 Bring historical release notes up to date (Micha)
    laanwj committed Oct 19, 2015
    Configuration menu
    Copy the full SHA
    7e9a987 View commit details
    Browse the repository at this point in the history

Commits on Oct 23, 2015

  1. Set TCP_NODELAY on P2P sockets.

    Nagle appears to be a significant contributor to latency now that the static
     sleeps are gone.  Most of our messages are relatively large compared to
     IP + TCP so I do not expect this to create enormous overhead.
    
    This may also reduce traffic burstyness somewhat.
    
    Conflicts:
    	src/net.cpp
    
    Rebased-From: a4e28b3
    Github-Pull: #6867
    gmaxwell authored and laanwj committed Oct 23, 2015
    Configuration menu
    Copy the full SHA
    5297194 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #6706

    5dc72f8 CLTV: Add more tests to improve coverage (Esteban Ordano)
    6a1343b Add RPC tests for the CHECKLOCKTIMEVERIFY (BIP65) soft-fork (Peter Todd)
    4137248 Add CHECKLOCKTIMEVERIFY (BIP65) soft-fork logic (Peter Todd)
    0e01d0f Enable CHECKLOCKTIMEVERIFY as a standard script verify flag (Peter Todd)
    6d01325 Replace NOP2 with CHECKLOCKTIMEVERIFY (BIP65) (Peter Todd)
    750d54f Move LOCKTIME_THRESHOLD to src/script/script.h (Peter Todd)
    6897468 Make CScriptNum() take nMaxNumSize as an argument (Peter Todd)
    laanwj committed Oct 23, 2015
    Configuration menu
    Copy the full SHA
    4b80b09 View commit details
    Browse the repository at this point in the history

Commits on Nov 1, 2015

  1. qt: Final translations update on 0.10 branch

    Translations for 0.12 have been opened, translations for 0.10 have been
    closed.
    laanwj committed Nov 1, 2015
    Configuration menu
    Copy the full SHA
    72a0adf View commit details
    Browse the repository at this point in the history