- 04 Dec, 2013 1 commit
-
-
Wladimir J. van der Laan authored
CWalletTx::AddSupportingTransactions() was adding empty transaction to vtxPrev in some cases. Skip over these. Part one of the solution to #3190. This prevents invalid vtxPrev from entering the wallet, but not current ones being transmitted.
-
- 02 Dec, 2013 1 commit
-
-
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.
-
- 30 Nov, 2013 2 commits
-
-
Gavin Andresen authored
Also changes mempool to store CTxMemPoolEntries to keep track of when they enter/exit the pool.
-
Gavin Andresen authored
GetValueIn makes more sense as a CTransaction member.
-
- 18 Nov, 2013 1 commit
-
-
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)
-
- 15 Nov, 2013 1 commit
-
-
Philip Kaufmann authored
- example: if util.h includes stdint.h, remove it from util.cpp, as util.h is the first header included in util.cpp
-
- 14 Nov, 2013 2 commits
-
-
Cozz Lovan authored
-
Cozz Lovan authored
-
- 10 Nov, 2013 1 commit
-
-
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.
-
- 26 Oct, 2013 4 commits
-
-
Pieter Wuille authored
This required some code movement (what was CWalletTx::AcceptToMemoryPool doing in main?), and adding a few explicit includes that used to be implicit through init.h.
-
Pieter Wuille authored
-
Pieter Wuille authored
-
Pieter Wuille authored
-
- 20 Oct, 2013 1 commit
-
-
super3 authored
-
- 11 Oct, 2013 1 commit
-
-
Pieter Wuille authored
-
- 10 Oct, 2013 1 commit
-
-
Wladimir J. van der Laan authored
-
- 04 Oct, 2013 1 commit
-
-
Gavin Andresen authored
Remove the (relay/mempool) rule that all outputs of free transactions must be greater than 0.01 XBT. Dust spam is now taken care of by making dusty outputs non-standard.
-
- 20 Sep, 2013 1 commit
-
-
Philip Kaufmann authored
-
- 18 Sep, 2013 1 commit
-
-
Gavin Andresen authored
-
- 17 Sep, 2013 1 commit
-
-
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.
-
- 29 Aug, 2013 1 commit
-
-
Wladimir J. van der Laan authored
Correctly use the purpose of addresses that are added after the start of the client. Addresses with purpose "refund" and "change" should not be visible in the GUI. This is now handled correctly.
-
- 23 Aug, 2013 1 commit
-
-
Gregory Maxwell authored
With the GUI password fix this was always false.
-
- 22 Aug, 2013 3 commits
-
-
Gavin Andresen authored
Add support for a Payment Protocol to Bitcoin-Qt. Payment messages are protocol-buffer encoded and communicated over http(s), so this adds a dependency on the Google protocol buffer library, and requires Qt with OpenSSL support.
-
Gavin Andresen authored
-
Gavin Andresen authored
Straight refactor, so mapAddressBook stores a CAddressBookData (which just contains a std::string) instead of a std::string. Preparation for payment protocol work, which will add the notion of refund addresses to the address book.
-
- 31 Jul, 2013 1 commit
-
-
Gavin Andresen authored
Replace the loop macro with while (true). The #define caused problems for Qt.
-
- 17 Jul, 2013 2 commits
-
-
Luke Dashjr authored
This fixes a warning when an output we aren't concerned with can't be parsed.
-
Luke Dashjr authored
-
- 25 Jun, 2013 1 commit
-
-
Jeff Garzik authored
Also, GetKeyPoolSize() now returns an accurate type, unsigned int.
-
- 24 Jun, 2013 1 commit
-
-
Eric Lombrozo authored
-
- 22 Jun, 2013 1 commit
-
-
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.
-
- 19 Jun, 2013 1 commit
-
-
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.
-
- 14 Jun, 2013 1 commit
-
-
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.
-
- 13 Jun, 2013 1 commit
-
-
Matt Corallo authored
-
- 10 Jun, 2013 2 commits
-
-
Jeff Garzik authored
-
Jeff Garzik authored
This also encapsulate wallet-read state information into CWalletScanState.
-
- 06 Jun, 2013 2 commits
-
-
Eric Lombrozo authored
Removed AreInputsStandard from CTransaction, made it a regular function in main. Moved CTransaction::GetOutputFor to CCoinsViewCache. Moved GetLegacySigOpCount and GetP2SHSigOpCount out of CTransaction into regular functions in main. Moved GetValueIn and HaveInputs from CTransaction into CCoinsViewCache. Moved AllowFree, ClientCheckInputs, CheckInputs, UpdateCoins, and CheckTransaction out of CTransaction and into main. Moved IsStandard and IsFinal out of CTransaction and put them in main as IsStandardTx and IsFinalTx. Moved GetValueOut out of CTransaction into main. Moved CTxIn, CTxOut, and CTransaction into core. Added minimum fee parameter to CTxOut::IsDust() temporarily until CTransaction is moved to core.h so that CTxOut needn't know about CTransaction.
-
Eric Lombrozo authored
-
- 04 Jun, 2013 2 commits
-
-
Cory Fields authored
-
Cory Fields authored
-