1. 25 Oct, 2014 1 commit
  2. 17 Oct, 2014 1 commit
  3. 08 Oct, 2014 1 commit
    • Pieter Wuille's avatar
      Make SCRIPT_VERIFY_STRICTENC compatible with BIP62 · 9df9cf5a
      Pieter Wuille authored
      * Delete canonical_tests.cpp, and move the tests to script_tests.cpp.
      * Split off SCRIPT_VERIFY_DERSIG from SCRIPT_VERIFY_STRICTENC (the BIP62 part of it).
      * Change signature STRICTENC/DERSIG semantics to fail the script entirely rather than the CHECKSIG result (softfork safety, and BIP62 requirement).
      * Add many autogenerated tests for several odd cases.
      * Mention specific BIP62 rules in the script verification flags.
      9df9cf5a
  4. 02 Oct, 2014 3 commits
  5. 25 Sep, 2014 2 commits
  6. 14 Sep, 2014 1 commit
  7. 12 Sep, 2014 2 commits
  8. 08 Sep, 2014 4 commits
  9. 05 Sep, 2014 1 commit
  10. 02 Sep, 2014 1 commit
  11. 26 Aug, 2014 1 commit
    • Wladimir J. van der Laan's avatar
      Split up util.cpp/h · ad49c256
      Wladimir J. van der Laan authored
      Split up util.cpp/h into:
      
      - string utilities (hex, base32, base64): no internal dependencies, no dependency on boost (apart from foreach)
      - money utilities (parsesmoney, formatmoney)
      - time utilities (gettime*, sleep, format date):
      - and the rest (logging, argument parsing, config file parsing)
      
      The latter is basically the environment and OS handling,
      and is stripped of all utility functions, so we may want to
      rename it to something else than util.cpp/h for clarity (Matt suggested
      osinterface).
      
      Breaks dependency of sha256.cpp on all the things pulled in by util.
      ad49c256
  12. 25 Aug, 2014 1 commit
  13. 12 Aug, 2014 1 commit
  14. 09 Jul, 2014 1 commit
  15. 02 Jul, 2014 3 commits
    • JaSK's avatar
      replaced MINE_ with ISMINE_ · a3e192a3
      JaSK authored
      a3e192a3
    • Pieter Wuille's avatar
      Use script matching rather than destination matching for watch-only. · d5087d1b
      Pieter Wuille authored
      This changes the keystore data format, wallet format and IsMine logic
      to detect watch-only outputs based on direct script matching rather
      than first trying to convert outputs to destinations (addresses).
      
      The reason is that we don't know how the software that has the spending
      keys works. It may support the same types of scripts as us, but that is
      not guaranteed. Furthermore, it removes the ambiguity between addresses
      used as identifiers for output scripts or identifiers for public keys.
      
      One practical implication is that adding a normal pay-to-pubkey-hash
      address via importaddress will not cause payments to the corresponding
      full public key to be detected as IsMine. If that is wanted, add those
      scripts directly (importaddress now also accepts any hex-encoded script).
      
      Conflicts:
      	src/wallet.cpp
      d5087d1b
    • Pieter Wuille's avatar
      Add support for watch-only addresses · c8988460
      Pieter Wuille authored
      Changes:
      * Add Add/Have WatchOnly methods to CKeyStore, and implementations
        in CBasicKeyStore.
      * Add similar methods to CWallet, and support entries for it in
        CWalletDB.
      * Make IsMine in script/wallet return a new enum 'isminetype',
        rather than a boolean. This allows distinguishing between
        spendable and unspendable coins.
      * Add a field fSpendable to COutput (GetAvailableCoins' return type).
      * Mark watchonly coins in listunspent as 'watchonly': true.
      * Add 'watchonly' to validateaddress, suppressing script/pubkey/...
        in this case.
      
      Based on a patch by Eric Lombrozo.
      
      Conflicts:
      	src/qt/walletmodel.cpp
      	src/rpcserver.cpp
      	src/wallet.cpp
      c8988460
  16. 26 Jun, 2014 2 commits
  17. 21 Jun, 2014 5 commits
  18. 10 Jun, 2014 1 commit
  19. 30 May, 2014 1 commit
  20. 08 May, 2014 1 commit
  21. 05 May, 2014 1 commit
  22. 22 Apr, 2014 2 commits
  23. 10 Mar, 2014 1 commit
  24. 26 Feb, 2014 1 commit
  25. 21 Feb, 2014 1 commit