aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-07-07Merge pull request #1552 from Diapolo/txdescWladimir J. van der Laan
GUI: enhance translation possibilities in TransactionDesc / misc other changes
2012-07-07Merge pull request #1559 from sje397/BalanceSignalFixWladimir J. van der Laan
Add a timer to check for changes in immature or unconfirmed balances,
2012-07-06Warn if blockchain majority doesn't match CBlock::CURRENT_VERSIONGavin Andresen
This adds a warning "this version is obsolete, upgrade required" if more than 50 of the previous 100 blocks in the blockchain are a new version.
2012-07-06Treat non-version-1 transactions as non-standardGavin Andresen
Adds CBlock::CURRENT_VERSION and CTransaction::CURRENT_VERSION constants, and makes non-CURRENT_VERSION transactions nonstandard. This will help make future upgrades smoother.
2012-07-05Merge pull request #1304 from rebroad/ShowBlockTimestampJeff Garzik
Show block timestamp
2012-07-05bitcoinrpc.cpp: Removed outdated commentJeff Garzik
Fixes #1373
2012-07-05Merge branch 'uri' of https://github.com/TheBlueMatt/bitcoinGavin Andresen
2012-07-05Use unsigned ints to fix signed/unsigned warningsGavin Andresen
2012-07-05Merge pull request #1554 from jgarzik/dup-gethashJeff Garzik
Remove duplicate GetHash() in ConnectBlock
2012-07-06Add a timer to check for changes in immature or unconfirmed balances,Scott Ellis
when these are non-zero. Fixed a minor mem leak.
2012-07-05Implement raw transaction RPC callsGavin Andresen
Implement listunspent / getrawtransaction / createrawtransaction / signrawtransaction, to support creation and signing-on-multiple-device multisignature transactions.
2012-07-05RPCTypeCheck method to make type-checking JSON Arrays easier.Gavin Andresen
2012-07-05Refactor: SignSignature/VerifyScriptGavin Andresen
Minor refactor to support signrawtx signing/verifying transactions when it might only have the previous transaction's txid and txOut.
2012-07-05Rework gettransaction / getblock RPC callsGavin Andresen
This PULL reworks new (post-0.6.*) features of the gettransaction/getblock RPC calls as follows: It removes the 'decompositions' object argument from getblock, replacing it just a list of transaction hashes; equivalent (I believe) of passing the {"tx":"hash"} decomposition. It replaces the 'decompositions' object argument of gettransaction with a boolean flag; if true, returns the same stuff that the {"script":"obj"} decomposition would return (txins/txouts as hex, disassembled, and bitcoin addresses). It adds a "rawtx" field to the output of gettransaction, that is the entire transaction serialized and hex-encoded. It removes the "size" field from gettransaction, since the size is trivial to compute from the "rawtx" field (either take the length after hex-decoding, or just compute it as hex-length/2).
2012-07-04Merge pull request #1555 from TheBlueMatt/warningsJeff Garzik
Fix remaining compile warnings.
2012-07-04Merge branch 'buildupdates' of https://github.com/TheBlueMatt/bitcoinGavin Andresen
2012-07-04Fix remaining warnings.Matt Corallo
2012-07-04CTxMemPool: eliminate redundant lock, GetHash() callJeff Garzik
::addUnchecked()'s only caller already takes the necessary lock, and has already calculated the TX's hash.
2012-07-04Remove duplicate GetHash() in ConnectBlockMatt Corallo
2012-07-03Merge pull request #1512 from jgarzik/json-batchJeff Garzik
Support JSON-RPC 2.0 request batches
2012-07-03RPC: add support for JSON-RPC 2.0-style request batchingJeff Garzik
If the top-level object is an array, it is assumed to be an array of JSON-RPC requests. An array is returned, containing one response (error or not) per request, in the order submitted. In a slight change in semantics, batched requests -always- return an HTTP 200 OK status, even ones full of invalid or incorrect requests.
2012-07-03RPC: break out high level JSON-RPC req/resp into their own functionsJeff Garzik
This prepares for JSON-RPC 2.0 batches.
2012-07-03Merge pull request #1546 from gmaxwell/allowsamenetinboundJeff Garzik
Do not consider inbound peers for outbound network group exclusion.
2012-07-03Merge pull request #1548 from TheBlueMatt/warningsJeff Garzik
Fix signed/unsigned warnings in {script,serialize}.h (fixes #1541)
2012-07-03Work around a distcc bug where -MMD output isn't copied.Matt Corallo
2012-07-03enhance translation possibilities in TransactionDesc / misc other changesPhilip Kaufmann
- remove "#include <QString>" as this is included in the header - add some missing plural forms that can be translated - change "yours" into "own address", which is easier to understand and translate in that context - cleanup translatable strings to not include HTML or unneeded chars (e.g. ":") - resize TransactionDescDialog a little (remove unwanted line-breaks with non english translations)
2012-07-02Fix signed/unsigned warnings in {script,serialize}.h (fixes #1541)Matt Corallo
2012-07-01Merge pull request #1545 from TheBlueMatt/diffsendbufferJeff Garzik
Minor send buffer changes
2012-07-01Do not consider inbound peers for outbound network group exclusion.Gregory Maxwell
Bitcoin will not make an outbound connection to a network group (/16 for IPv4) that it is already connected to. This means that if an attacker wants good odds of capturing all a nodes outbound connections he must have hosts on a a large number of distinct groups. Previously both inbound and outbound connections were used to feed this exclusion. The use of inbound connections, which can be controlled by the attacker, actually has the potential of making sibyl attacks _easier_: An attacker can start up hosts in groups which house many honest nodes and make outbound connections to the victim to exclude big swaths of honest nodes. Because the attacker chooses to make the outbound connection he can always beat out honest nodes for the consumption of inbound slots. At _best_ the old behavior increases attacker costs by a single group (e.g. one distinct group to use to fill up all your inbound slots), but at worst it allows the attacker to select whole networks you won't connect to. This commit makes the nodes use only outbound links to exclude network groups for outbound connections. Fancier things could be done, like weaker exclusion for inbound groups... but simplicity is good and I don't believe more complexity is currently needed.
2012-06-30RPC getpeerinfo: s/height/startingheight/ for returned nStartingHeight valueJeff Garzik
2012-07-01Change default send buffer to 1Mb.Matt Corallo
2012-07-01Remove useless high-volume printf (fixes #1544).Matt Corallo
2012-06-30Merge pull request #1540 from fanquake/masterJeff Garzik
Fix a Couple Typos
2012-06-30Fix a couple more typosfanquake
2012-06-30Merge pull request #1539 from cardpuncher/patch-3Wladimir J. van der Laan
Fix a typo in TransactionDesc
2012-06-30Fix a typo in TransactionDesccardpuncher
2012-06-29Merge pull request #1531 from jgarzik/peerinfoGavin Andresen
RPC: add 'getpeerinfo', returning easy-to-retrieve per-CNode data
2012-06-29Merge pull request #1537 from Diapolo/fix_awesome_typoJeff Garzik
fix an awesome typo in OptionsDialog ^^
2012-06-30fix a typo in OptionsDialogPhilip Kaufmann
2012-06-29RPC: add 'getpeerinfo', returning easy-to-retrieve per-CNode dataJeff Garzik
2012-06-29Merge pull request #1532 from fanquake/masterJeff Garzik
Fix a couple typos
2012-06-29Fix a few typosfanquake
2012-06-28Create new rpcnet module, and move 'getconnectioncount' RPC to itJeff Garzik
2012-06-28Merge branch 'patch-5' of https://github.com/xanatos/bitcoinGavin Andresen
2012-06-28Merge branch 'patch-3' of https://github.com/xanatos/bitcoinGavin Andresen
2012-06-28Fix build error.Matt Corallo
2012-06-28Lock vnThreadsRunning[THREAD_RPCHANDLER].Matt Corallo
2012-06-28Use a rpc-specific queue to tell asio connections to shutdown.Matt Corallo
2012-06-28Revert "*Always* send a shutdown signal to enable custom shutdown actions"Matt Corallo
This reverts commit 896899e0d66e25f6549a92749d237c8a87b12f08.
2012-06-27Merge pull request #1511 from jgarzik/quieten2Jeff Garzik
Quieten 'getdata' P2P message output