1. 04 Dec, 2013 1 commit
  2. 02 Dec, 2013 1 commit
    • Gregory Maxwell's avatar
      Sanitize assert usage and refuse to compile with NDEBUG. · b36e336a
      Gregory Maxwell authored
      There were quite a few places where assert() was used with side effects,
       making operation with NDEBUG non-functional.  This commit fixes all the
       cases I know about, but also adds an  #error on NDEBUG because the code
       is untested without assertions and may still have vulnerabilities if
       used without assert.
      b36e336a
  3. 30 Nov, 2013 2 commits
  4. 18 Nov, 2013 1 commit
    • Philip Kaufmann's avatar
      Coincontrol cleanup (e.g. add missing license) · 4a0a266c
      Philip Kaufmann authored
      - add missing license headers
      - make compatible with Qt5
      - enforce header cleanup style
      - small code style cleanups
      - rename Coin Control dialog into Coin Control Address Selection
      - use default font for the windows labels (no monospace)
      4a0a266c
  5. 15 Nov, 2013 1 commit
  6. 14 Nov, 2013 2 commits
  7. 10 Nov, 2013 1 commit
    • Brandon Dahler's avatar
      Cleanup code using forward declarations. · e28f37ca
      Brandon Dahler authored
      Use misc methods of avoiding unnecesary header includes.
      Replace int typedefs with int##_t from stdint.h.
      Replace PRI64[xdu] with PRI[xdu]64 from inttypes.h.
      Normalize QT_VERSION ifs where possible.
      Resolve some indirect dependencies as direct ones.
      Remove extern declarations from .cpp files.
      e28f37ca
  8. 26 Oct, 2013 4 commits
  9. 20 Oct, 2013 1 commit
  10. 11 Oct, 2013 1 commit
  11. 10 Oct, 2013 1 commit
  12. 04 Oct, 2013 1 commit
  13. 20 Sep, 2013 1 commit
  14. 18 Sep, 2013 1 commit
  15. 17 Sep, 2013 1 commit
    • Gregory Maxwell's avatar
      [Fee logic] Don't count txins for priority to encourage sweeping. · 518c9f25
      Gregory Maxwell authored
      This changes the priority calculation to not include the size of per-txin
       data including up to 110 bytes of scriptsig so that transactions which
       sweep up extra UTXO don't lose priority relative to ones that don't.
      
      I'd toyed with some other variations, but it seems like any formulation
       which results in an incentive stronger than making them not count will
       sometimes create incentives to add extra outputs so that you have
       extra inputs to consume later.  The maximum credit is limited so that
       users don't lose the disincentive to stuff random data in their
       transactions, the limit of 110 is based on the size of a P2SH
       redemption with a compressed public key.
      
      This shouldn't need a staged deployment because the priority is not
       used as a relay criteria, only a mining criteria.
      518c9f25
  16. 29 Aug, 2013 1 commit
  17. 23 Aug, 2013 1 commit
  18. 22 Aug, 2013 3 commits
  19. 31 Jul, 2013 1 commit
  20. 17 Jul, 2013 2 commits
  21. 25 Jun, 2013 1 commit
  22. 24 Jun, 2013 1 commit
  23. 22 Jun, 2013 1 commit
    • Pieter Wuille's avatar
      Add GetKeyBirthTimes to wallet · 313752bb
      Pieter Wuille authored
      Compute safe lower bounds on the birth times of all wallet keys. For
      pool keys or keys with metadata, the actually stored birth time is
      used. For all others, the birth times are inferred from the wallet
      transactions.
      313752bb
  24. 19 Jun, 2013 1 commit
    • Pieter Wuille's avatar
      Refactor keytime/metadata and wallet encryption bugfix · 14f3fed0
      Pieter Wuille authored
      Refactor keytime:
      * Key metadata is kept in a CWallet::mapKeyMetadata (std::map<CKeyId,CKeyMetadata>).
      * When generating a new key, time is put in that map, and new key is written.
      * AddKeyPubKey and AddCryptedKey do not take a creation time argument, but instead
        pull it from that map, if it exists there.
      
      Bugfix:
      * AddKeyPubKey and AddCryptedKey in CWallet didn't override the CKeyStore
        definition anymore. This is fixed, as they no longed need the nCreationTime
        argument now.
      
      Also a few related other changes:
      * Metadata can be overwritten.
      * Only GenerateNewKey calls GetTime(), as it's the only place where we know for
        sure a key was not constructed earlier.
      * When the nTimeFirstKey is known to be inaccurate, it is set to the value 1
        (instead of 0, which would mean unknown).
      * Use CPubKey instead of std::vector<unsigned char> where possible.
      14f3fed0
  25. 14 Jun, 2013 1 commit
    • Matt Corallo's avatar
      Refactor fee rules to make them actually readable. · 18e9f7d2
      Matt Corallo authored
      This (nearly) doesn't change fee rules at all:
       * To make it into the fee transaction area, the dPriority comparison
         changed from < to <=
       * We now just ignore transactions > MAX_BLOCK_SIZE/4 instead of
         doing some calculations to require increasingly large fees as
         size increases.
      18e9f7d2
  26. 13 Jun, 2013 1 commit
  27. 10 Jun, 2013 2 commits
  28. 06 Jun, 2013 2 commits
  29. 04 Jun, 2013 2 commits