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
Luke Dashjr
5146599b01
Merge branch 'bugfix_CNBerr_daggy' into bugfix_CNBerr
...
Conflicts:
rpc.cpp
2012-05-09 17:14:08 +00:00
Luke Dashjr
b354251f1a
Bugfix: getwork: NULL pindexPrev across CreateNewBlock, in case it fails
2012-05-09 17:02:07 +00:00
Luke Dashjr
7e63dc3615
Support for decomposing scripts as "obj"
2012-05-08 21:04:57 +00:00
Luke Dashjr
74335bd32a
Second parameter to JSON-RPC getblock/gettransaction: decompositions
...
This is an Object specifying how to decompose specific elements.
Currently supported:
- "tx": "no", "hash", "hex", "obj"
- "script": "no", "hex", "asm"
2012-05-08 21:04:52 +00:00
Luke Dashjr
d4e09300f3
Add block "confirmations" to getblock, mainly for identifying orphans
2012-05-08 21:04:47 +00:00
Luke Dashjr
1ef3a48c03
Bitcoin-Qt: Remove redundant tooltip on optional transaction fee. Fixes #1218
2012-05-07 19:22:09 +00:00
Luke Dashjr
82e6b92b0a
Bugfix: %-12I64d is not valid and causes the parameter to be skipped, use %12"PRI64d" instead
2012-05-05 14:24:55 -04:00
Luke Dashjr
2eb665c634
Bugfix: Check that QRcode_encodeString didn't return NULL (error)
...
Without this, any error will segfault Bitcoin-Qt
2012-04-14 21:00:27 -04:00
Luke Dashjr
fa2544e79f
Bugfix: Replace "URL" with "URI" where we aren't actually working with URLs
2012-04-06 12:53:37 -04:00
Luke Dashjr
7993454a92
Document strlcpy.h in assets-attribution.txt since it isn't MIT-licensed
2012-04-05 18:58:20 -04:00
Luke Dashjr
a41957b873
Add Luke-Jr's PGP key to gitian-downloader
2012-03-22 20:32:41 -04:00
Luke Dashjr
49e1501b5d
Move QMAKE_LIBS_QT_ENTRY adjustment to bitcoin side of build
...
It could just as well be on either part of the gitian build, but to safely put it on the Qt side would require bumping the filename, and every gitian user rebuilding it.
v0.5.3.1 put it on the Bitcoin side, and this is easier to work with and keep safe, so I'm moving it.
Use `qmake MINGW_THREAD_BUGFIX=0` to disable
2012-03-22 12:46:47 -04:00
Luke Dashjr
3cc0624932
Print more diagnostic info for the various DB_CORRUPT conditions
2012-03-12 14:01:15 -04:00
Luke Dashjr
21e875c958
Print wallet load errors (to debug.log)
2012-03-11 17:57:47 -04:00
Luke Dashjr
34f8788915
Cleanup JSON-RPC getblock output to be consistent
...
- Add "size" and "bits"
- Rename "blockcount" to "height"
- Rename "hashprevious" and "hashnext" to "previousblockhash" and "nextblockhash" (respectively)
2012-02-22 12:31:28 -05:00
Luke Dashjr
c170d03e03
Bugfix: Instead of reporting "bitcoin-qt" for both bitcoind and Bitcoin-Qt, report "Satoshi" which is at least correct
2012-02-22 10:36:19 -05:00
Luke Dashjr
5a5cc6ac09
Sign message description changes discussed in #bitcoin-dev
2012-02-19 22:36:59 -05:00
Luke Dashjr
f1142dcc5b
Update doc/release-process.txt
2012-02-07 12:12:10 -05:00
Luke Dashjr
9909340f37
Split smaller dependencies out of gitian-win32 into deps-win32
2012-02-07 11:52:40 -05:00
Luke Dashjr
f051ee5f96
Update zlib and libpng (previous version had a security issue)
2012-02-06 11:46:49 -05:00
Luke Dashjr
2bc4fd609c
Bitcoin-Qt signmessage GUI (pull request #582 )
2012-01-27 08:41:55 +01:00
Luke Dashjr
34c69036da
Rename src/obj/test to src/obj-test to workaround bug in older GNU Make
2012-01-23 14:27:08 -05:00
Luke Dashjr
ca9afa8401
Bugfix: Support building test_bitcoin with shared-object boost test framework
2012-01-23 11:37:48 -05:00
Luke Dashjr
575bdcde93
Sanitize AreInputsStandard slightly
...
Correct comment for why the check is unnecessary for coinbases
Move testnet check out, to AcceptToMemoryPool where everything else checks it
2012-01-20 21:00:08 -05:00
Luke Dashjr
9965e1d044
Various updates to the release process
2012-01-17 21:50:08 -05:00
Luke Dashjr
340f0876ea
collect more info on tx pooling and block finding for getmininginfo
2012-01-12 19:47:39 -05:00
Luke Dashjr
6950bb6200
Add new "getmininginfo" JSON-RPC method, with mining-only fields moved out of "getinfo"
2012-01-12 19:47:23 -05:00
Luke Dashjr
ebf9065c22
Qt: Show transaction ID in details
2012-01-10 13:25:05 -05:00