Luke Dashjr
9b7d3fb165
Adopt style colour for button icons
2014-12-27 19:04:49 +01:00
Luke Dashjr
a15dba5dff
en: Avoid ambiguous language regarding when transactions confirm
2014-12-23 22:07:10 +00:00
Luke Dashjr
d227011184
MOVEONLY: core/ -> primitives/
2014-12-03 10:52:58 +00:00
Luke Dashjr
8a20cd3c51
prioritisetransaction RPC: Restore compatibility with existing implementations by using satoshis for fee offset rather than BTC
2014-12-01 14:18:07 +00:00
Luke Dashjr
eef747bba8
libbitcoinconsensus: Add pkg-config support
2014-11-20 21:23:34 +00:00
Luke Dashjr
b867e409e5
CreateNewBlock: Stick height in coinbase so we pass template sanity check
2014-11-20 15:32:49 +00:00
Luke Dashjr
60755dbf76
submitblock: Check for duplicate submissions explicitly
2014-11-20 00:15:17 +00:00
Luke Dashjr
bc6cb4177b
QA RPC tests: Add tests block block proposals
2014-11-20 00:15:17 +00:00
Luke Dashjr
9765a50cbd
Implement BIP 23 Block Proposal
2014-11-20 00:15:16 +00:00
Luke Dashjr
3dcbb9b6b4
Abstract DecodeHexBlk and BIP22ValidationResult functions out of submitblock
2014-11-18 19:20:10 +00:00
Luke Dashjr
132ea9b48f
miner_tests: Disable checkpoints so they don't fail the subsidy-change test
2014-11-18 19:20:10 +00:00
Luke Dashjr
df08a626e0
TestBlockValidity function for CBlock proposals (used by CreateNewBlock)
2014-11-18 19:20:10 +00:00
Luke Dashjr
4ea1be7fb8
CreateNewBlock and miner_tests: Also check generated template is valid by CheckBlockHeader, ContextualCheckBlockHeader, CheckBlock, and ContextualCheckBlock
2014-11-18 19:20:10 +00:00
Luke Dashjr
a48f2d6ddd
Abstract context-dependent block checking from acceptance
2014-11-18 19:20:10 +00:00
Luke Dashjr
5d60b694e9
Coin Control: Make list mode default
2014-11-16 17:27:19 +00:00
Luke Dashjr
4ff81d6092
Bugfix: Clarify coin control dialog labels
2014-11-16 17:16:14 +00:00
Luke Dashjr
e69a5873e7
RPC: submitblock: Support for returning specific rejection reasons
2014-10-30 02:03:43 +00:00
Luke Dashjr
1bea2bbddc
Rename ProcessBlock to ProcessNewBlock to indicate change of behaviour, and document it
2014-10-28 08:15:14 +00:00
Luke Dashjr
2aa632921e
Enable customising node policy for datacarrier data size with a -datacarriersize option
2014-10-27 09:41:57 +00:00
Luke Dashjr
d29a2917ff
Rename RPC_TRANSACTION_* errors to RPC_VERIFY_* and use RPC_VERIFY_ERROR for submitblock
2014-10-21 04:48:31 +00:00
Luke Dashjr
f877aaaf16
Bugfix: submitblock: Use a temporary CValidationState to determine accurately the outcome of ProcessBlock, now that it no longer does the full block validity check
2014-10-21 04:48:31 +00:00
Luke Dashjr
24e8896430
Add CValidationInterface::BlockChecked notification
2014-10-21 04:41:46 +00:00
Luke Dashjr
c0195b1c31
Bugfix: Remove default from -zapwallettxes description (inaccurate)
2014-10-14 20:13:44 +00:00
Luke Dashjr
0a08aa8f2a
Parameterise command line option defaults, so translations are independent of them
2014-10-11 08:22:26 +00:00
Luke Dashjr
caecb42b38
Travis: Descriptive build names
2014-10-10 03:36:49 +00:00
Luke Dashjr
0b17964131
Bugfix: Replace bashisms with standard sh in tests/tools
2014-10-03 23:45:26 +00:00
Luke Dashjr
ab72068565
Bugfix: Replace bashisms with standard sh in gitian descriptors
2014-10-03 23:45:26 +00:00
Luke Dashjr
b77b4eda8d
Bugfix: Replace bashisms with standard sh to fix build on non-BASH systems
2014-10-03 23:45:26 +00:00
Luke Dashjr
21b7addc9b
Bugfix: Add missing equals-sign to Travis config
2014-09-15 07:41:53 +00:00
Luke Dashjr
a65e320747
bitcoin-util-test: Test bitcoin-tx with null scriptPubKey
2014-09-14 06:28:22 +00:00
Luke Dashjr
15ef1b905b
Bugfix: bitcoin-tx: scriptPubKey may be null, so accept outscript=<n>:
2014-09-14 05:28:41 +00:00
Luke Dashjr
ff6a7af154
getblocktemplate: longpolling support
2014-07-11 14:48:02 +02:00
Luke Dashjr
2227725fcb
test/bloom_tests: Use UL suffix for unsigned long number to ensure compatibility
2014-07-07 15:42:59 +00:00
Luke Dashjr
109849e204
Bugfix: strerror_r can return an error, and if it does, POSIX does not specify the content of the buffer
2014-07-07 15:34:00 +00:00
Luke Dashjr
e44fea55ea
Add an option to allow users to disable relaying/mining data carrier transactions
2014-06-26 14:31:06 +00:00
Luke Dashjr
2a72d4591f
JSON-RPC method: prioritisetransaction <txid> <priority delta> <priority tx fee>
...
Accepts the transaction into mined blocks at a higher (or lower) priority
2014-06-26 11:49:46 +00:00
Luke Dashjr
c0e0b05aec
Bugfix: configure: Look in libx32 subdirectory for boost libraries
2014-04-09 12:59:17 +00:00
Luke Dashjr
3cb1edbfb6
Update moved and dead links
2014-03-24 20:26:02 +00:00
Luke Dashjr
c117d9e93a
Support for error messages and a few more rejection reasons
2014-01-29 17:39:24 +00:00
Luke Dashjr
14e7ffcc64
Use standard BIP 22 rejection reasons where applicable
2014-01-29 17:39:18 +00:00
Luke Dashjr
2041365c8c
Bugfix: Use BOOST_CPPFLAGS when testing for boost sleep vs sleep_for
2014-01-18 21:10:56 +00:00
Luke Dashjr
e18e1001eb
configure: Minor grammatical changes to be more clear
2014-01-18 21:10:52 +00:00
Luke Dashjr
a9dbcf036b
configure: Change --with[out]-qt to --with[out]-gui and add --with[out]-cli and --with[out]-daemon to support more build configurations
2014-01-18 20:11:05 +00:00
Luke Dashjr
f47299038d
Bugfix: Correct captitalisation of Qt
2014-01-18 20:10:07 +00:00
Luke Dashjr
f930341d81
configure: Internal changes to make building bitcoind and bitcoin-cli optional
2014-01-18 19:54:50 +00:00
Luke Dashjr
4a290b526c
Cleanup LevelDB library dependencies
2014-01-18 19:47:21 +00:00
Luke Dashjr
9b4e03b27b
Bugfix: Undefine _FORTIFY_SOURCE before redefining it, to avoid warnings on compilers that define it by default
2014-01-18 19:41:10 +00:00
Luke Dashjr
123e4f878e
Bugfix: configure: Allow user-provided CXXFLAGS to override default optimisation, debug, and warning flags
2014-01-18 19:41:06 +00:00
Luke Dashjr
fcfbf547d3
configure: Automatically disable bitcoin-qt by default, if dependencies are not met
2013-11-11 13:09:59 +01:00
Luke Dashjr
eb12a14da7
configure: Simplify common AM_CPPFLAGS and AM_LDFLAGS to a Makefile.common
2013-11-11 09:57:28 +01:00
Luke Dashjr
1e9d3b1392
Bugfix: Since test_bitcoin is being built and run inside src/test/, try using relative directories from that point
2013-09-10 23:04:56 +00:00
Luke Dashjr
9a09c0091c
configure: Prefer specific known-good versions of Qt metacompiler tools
2013-09-10 22:26:09 +00:00
Luke Dashjr
56ba02aa2a
build-unix.md: Remove now-redundant and unnecessary Gentoo instructions
2013-09-10 22:26:05 +00:00
Luke Dashjr
941dba1783
configure: Check common include subdirectories for bdb headers, and refuse to use any version other than 4.8 by default
2013-09-10 22:26:00 +00:00
Luke Dashjr
dabd4bd48e
Bugfix: Include block creation and SSL options headings in usage
2013-07-21 16:13:00 +00:00
Luke Dashjr
cc6cfab38f
Bugfix: Supress "address" key in transaction details, when the destination isn't recognized
...
Previously, it would pass corrupt/random through base58.
2013-07-17 03:05:38 +00:00
Luke Dashjr
96ed682176
Bugfix: Avoid trying to parse outputs that aren't relevant to CWalletTx::GetAmounts
...
This fixes a warning when an output we aren't concerned with can't be parsed.
2013-07-17 03:03:13 +00:00
Luke Dashjr
203d1ae69b
Bugfix: Store last/next wallet resend times unique per CWallet object
2013-07-17 03:00:59 +00:00
Luke Dashjr
d4e2b040ed
Bugfix: Move boost/version include from db.cpp to walletdb.cpp where BOOST_VERSION is used
2013-07-15 22:16:42 +00:00
Luke Dashjr
2331952141
RPC: getblock(): Accept 2nd "verbose" parameter, similar to getrawtransaction, but defaulting to 1 for backward compatibility
2013-06-07 17:44:39 +00:00
Luke Dashjr
3a9c2d51e1
Bugfix: makefile.unix: Honour BOOST_LIB_SUFFIX on boost_unit_test_framework
2013-02-19 05:32:39 +00:00
Luke Dashjr
7e2d850b12
Bugfix: makefile.linux-mingw: Fix so passed CXXFLAGS/LDFLAGS work correctly
2013-02-19 05:22:30 +00:00
Luke Dashjr
8c4e43130b
Bugfix: Enable ConnectBestBlock to properly report back validation problems, and ensure orphan processing (when their parents are found) cannot be used to counter-DDoS the node providing the parent
...
Also fix a minor typo
2013-01-31 03:53:21 +00:00
Luke Dashjr
2646080e3d
Allow -printpriority without -debug
2012-11-26 16:30:54 +00:00
Luke Dashjr
4ade04ddbd
Print error for coinbase-pays-too-much case of ConnectBlock failing
2012-11-14 19:16:56 +00:00
Luke Dashjr
c34a32699e
Change block references in debug.log to full hash instead of just 0..20
2012-11-13 21:19:58 +00:00
Luke Dashjr
f3a84c3a6b
Abstract block hash substr extraction (for debug.log) into BlockHashStr inline
2012-11-13 21:18:32 +00:00
Luke Dashjr
23a44a7ad6
Apply MIT license to md2k7 art
...
[21:48:14] <md2k7> feel free to make it MIT if you like
2012-09-08 21:51:52 +00:00
Luke Dashjr
85eb1e7e56
Update translations from Transifex (100% coverage for Finnish and Chinese (China)
2012-09-08 20:32:54 +00:00
Luke Dashjr
4ee706243c
Partially Bugfix: Update English translation strings and translations from Transifex
...
Bugfix: Correct doubled-up &amp; in translations
Bugfix: Remove extra spaces after ampersand in translations (this fixes hotkeys)
Restore copyright translations, now split up
Restore old translations lost due to changes to English structure
Skipped: ca_ES et eu_ES fr_CA (under 10% coverage)
2012-09-08 04:59:13 +00:00
Luke Dashjr
da7b8c1260
Bugfix: Initialize CWallet::nOrderPosNext on an empty wallet, and save it in db
2012-09-08 04:55:36 +00:00
Luke Dashjr
ddb709e9de
Bugfix: Require OrderedTxItems to provide properly scoped accounting entry list
...
OrderedTxItems returns a multimap of pointers, but needs a place to store the actual CAccountingEntries it points to.
It had been using a stack item, which was clobbered as soon as it returned, resulting in undefined behaviour.
This fixes at least bug #1768 .
2012-09-02 08:02:46 +00:00
Luke Dashjr
0689a7eb9c
Bugfix: getblocktemplate: Accept optional "mode" parameter not being provided
2012-09-01 07:12:56 +00:00
Luke Dashjr
0eeb54cb89
I forgot to paint the bike shed
2012-08-27 20:18:37 +00:00
Luke Dashjr
d0377a70e2
Bugfix: Adjust gitian-win32 to use Boost 1.49 for real
2012-08-27 00:49:27 +00:00
Luke Dashjr
1837696580
Bugfix: Move boost::interprocess Win32 workaround to Bitcoin-Qt sources, rather than hacking boost in gitian
2012-08-27 00:49:23 +00:00
Luke Dashjr
bc8d832335
Abstract all IPC communication to qtipcserver
2012-08-24 16:59:27 +00:00
Luke Dashjr
e07c8e9123
Treat generation (mined) transactions less different from receive transactions
...
- Show address receiving the generation, and include it in the correct "account"
- Multiple entries in listtransactions output if the coinbase has multiple outputs to us
2012-08-23 23:20:01 +00:00
Luke Dashjr
9655d73f49
Allow building with IPv6 support, but it disabled by default
2012-08-23 21:01:01 +00:00
Luke Dashjr
45beb88966
Bugfix: Make USE_UPNP=- work with makefile.{linux-mingw,mingw,osx} too
2012-08-23 21:00:57 +00:00
Luke Dashjr
e422bebbdc
Make IPv6 support buildtime-optional again (defaults to enabled)
2012-08-23 20:49:51 +00:00
Luke Dashjr
c3f95ef13f
Choose reasonable "smart" times to display for transactions
...
Logic:
- If sending a transaction, assign its timestamp to the current time.
- If receiving a transaction outside a block, assign its timestamp to the current time.
- If receiving a block with a future timestamp, assign all its (not already known) transactions' timestamps to the current time.
- If receiving a block with a past timestamp, before the most recent known transaction (that we care about), assign all its (not already known) transactions' timestamps to the same timestamp as that most-recent-known transaction.
- If receiving a block with a past timestamp, but after the most recent known transaction, assign all its (not already known) transactions' timestamps to the block time.
2012-08-23 18:38:22 +00:00
Luke Dashjr
bdbfd2329a
JSON-RPC: Add "blocktime" and (for wallet transactions) "timereceived" to transaction Object outputs
2012-08-23 18:30:30 +00:00
Luke Dashjr
9c7722b7c5
Store a fixed order of transactions (and accounting) in the wallet
...
For backward compatibility, new accounting data is stored after a \0 in the comment string.
This way, old versions and third-party software should load and store them, but all actual use (listtransactions, for example) ignores it.
2012-08-23 18:18:20 +00:00
Luke Dashjr
44427fa833
Merge branch 'gmp_bip_0.6.0' into gmp_bip
...
Conflicts:
src/bitcoinrpc.cpp
2012-08-03 01:12:55 +00:00
Luke Dashjr
3390014fd0
Minimal BIP 22 (getblocktemplate) support
...
- Replaces getmemorypool with new getblocktemplate
- Add missing keys: coinbaseaux, target, mutable, noncerange, sigoplimit, sizelimit, and height
- Accept and send parameter Objects, checking "mode" key if present
- Return rejection reason "rejected" for submit mode
2012-08-03 01:02:51 +00:00
Luke Dashjr
1be064190e
Optimize JSON-RPC getblockhash
...
- If the height is in the first half, start at the genesis block and go up, rather than at the top
- Cache the last lookup and use it as a reference point if it's close to the next request, to make linear lookups always fast
2012-08-01 18:23:30 +00:00
Luke Dashjr
b49f1398a1
Bugfix: Correct English grammar regarding "'s"
2012-08-01 17:50:00 +00:00
Luke Dashjr
3c726dd3c0
Bugfix: Use standard BTC unit in comments
2012-08-01 17:49:57 +00:00
Luke Dashjr
814efd6f1f
Bugfix: Fix a variety of misspellings
2012-08-01 17:49:51 +00:00
Luke Dashjr
90d95b6323
Replace all occurances of license.txt with COPYING, including naming the file COPYING.txt on Windows
2012-07-22 21:49:09 +00:00
Luke Dashjr
639b61d78e
Tests for CreateNewBlock
2012-07-12 16:35:34 +00:00
Luke Dashjr
148e107da6
Run BDB disk-less for test_bitcoin
2012-07-11 04:26:44 +00:00
Luke Dashjr
fbf99a9cdc
Merge branch 'checknewblock_0.6.0' into checknewblock
...
Conflicts:
src/main.cpp
2012-07-11 04:24:58 +00:00
Luke Dashjr
0783bcceef
gitian-downloader: Update luke-jr's key
2012-06-20 16:15:46 +00:00
Luke Dashjr
0f5a2a82d9
CBigNum: Convert negative int64 values in a more well-defined way
...
Since the minimum signed integer cannot be represented as positive so long as its type is signed, and it's not well-defined what happens if you make it unsigned before negating it, we instead increment the negative integer by 1, convert it, then increment the (now positive) unsigned integer by 1 to compensate
2012-06-18 20:37:57 +00:00
Luke Dashjr
3cd01fdf0e
CreateNewBlock: Check that the produced CBlock is acceptable (except for proof-of-work and merkletree, since those need to be provided later)
...
This throws an exception from CreateNewBlock otherwise, which is not safe without #1245 !
2012-05-27 12:27:33 +00:00
Luke Dashjr
f9189543bf
CDBEnv: fix qt build
2012-05-22 20:47:42 -04:00
Luke Dashjr
29875dcb4b
Shared code for wallet lock help and check
2012-05-18 23:13:21 +00:00
Luke Dashjr
5d53f48acb
Bugfix: getmemorypool: NULL pindexPrev across CreateNewBlock, in case it fails
2012-05-09 18:12:01 +00:00