aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2012-07-13Merge branch 'chashwriter' of https://github.com/sipa/bitcoinGavin Andresen
2012-07-13Merge pull request #1575 from laanwj/2012_07_persistentbalancecheckWladimir J. van der Laan
(UI) Persistently poll for balance change when number of blocks changed
2012-07-12Bug fix: sendrawtransaction was not relaying properlyGavin Andresen
2012-07-12optionsmodel cleanupPhilip Kaufmann
- cleanup optionsmodel before adding new proxy options - place SOCKS version stuff below proxy port (IP, Port, SOCKS version) - simplyfy some parts of the code (e.g. don't check IP and port, as this is done in optionsdialog anyway, remove unneeded {} in switch/case) - small cosmetic changes in the header for better readability
2012-07-11Merge pull request #1497 from luke-jr/bugfix_neguintGregory Maxwell
CBigNum: Convert negative int64 values in a more well-defined way
2012-07-11Reorder dnsseed list, Jeff's seed list is static so put it last.Gregory Maxwell
Because new nodes pull from the first connected node the load balancing of the first connection is more important than it should be. This change puts Pieter's seed first, because its probably the best maintained right now.
2012-07-11fix some recently added translation pluralsPhilip Kaufmann
2012-07-11Translation strings updateWladimir J. van der Laan
2012-07-11Persistently poll for balance change when number of blocks changedWladimir J. van der Laan
Fixes #1452. Until we can make the logic water-tight *and* are notified in every case the balance might have changed, remove the premature optimization and simply recompute the balance every half a second when the number of blocks changed.
2012-07-10Merge pull request #1569 from Diapolo/addressbookpageWladimir J. van der Laan
replace some ugly code in addressbookpage.cpp
2012-07-09Fix Qt build on OSXGavin Andresen
Compiling boost::interprocess::message_queue against boost 1.50 macports with -arch i386 (how releases are built, for minimum download size and maximum compatibility) is failing: src/qt/qtipcserver.cpp:37: error: no matching function for call to ‘boost::interprocess::message_queue_t<boost::interprocess::offset_ptr<void, int, long unsigned int, 0u> >::timed_receive(char (*)[257], long unsigned int, size_t&, unsigned int&, boost::posix_time::ptime&)’ This is probably a boost or macports bug, but since interprocess::message_queue is only used for URI support, which isn't implemented on OSX anyway, I fixed the build by #ifdef'ing out that code.
2012-07-08replace some ugly code in addressbookpage.cppPhilip Kaufmann
- add signals signMessage() and verifyMessage() in addressbookpage.cpp - connect to them in bitcoingui.cpp to switch to the corresponding tab in the Sign/Verify Message dialog - make gotoSignMessageTab() and gotoVerifyMessageTab() private slots
2012-07-08Merge pull request #1464 from Diapolo/GUI_showSSLVersionWladimir J. van der Laan
GUI: show used OpenSSL library version in debug window
2012-07-07CHashWriter that does SHA256 in-place during serializationPieter Wuille
2012-07-07show used OpenSSL library version in debug windowPhilip Kaufmann
2012-07-07fix typo in optionsmodel.cppPhilip Kaufmann
2012-07-07Fix OBO in socks5 auth proposal. This fixes compatibility with openssh's ↵Douglas Huff
socks5 proxy and tor's .2.3.x branch.
2012-07-07Merge pull request #1469 from Diapolo/signverifymessagedialogWladimir J. van der Laan
GUI: merge sign/verify message into a single window with tabbed UI
2012-07-07Merge pull request #1518 from Diapolo/qrcodedialogWladimir J. van der Laan
update QRCodeDialog
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-06update QRCodeDialogPhilip Kaufmann
- remove unused #include <QDebug> and lblBTC label - update Bitcoin input field to a BitcoinAmountField to allow Bitcoin unit selection - use BitcoinUnits::format for the resulting amount parameter in the generated URI (always use BTC as per BIP21) - move MAX_URI_LENGTH and EXPORT_IMAGE_SIZE to guiconstants.h - add OptionsModel in AddressBookPage and use it in on_showQRCode_clicked() to pass it to QRCodeDialog - add OptionsModel in QRCodeDialog to enable display unit updates - add updateDisplayUnit() slot to be able to imediately update currently set bitcoin unit - make all labels in the UI-file plain text - resize dialog to match for an updated layout (fields are now stacked and new field) - remove unused parameters from private slots - only enable save button, when QR Code was generated - show message when entered amound is invalid - add read-only QPlainTextEdit field to output generated URI
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-06GUI: merge sign/verify message into a single window with tabbed UIPhilip Kaufmann
- add UI-feedback via QValidatedLineEdit - copy button for generated signature was moved to the signature output field - add an addressbook button to verify message tab - input fields are now evenly ordered for sign and verify tabs - update FIRST_CLASS_MESSAGING support to ensure a good UX - add a button and context menu entry in addressbook for verify message (to be consistent with sign message) - focus is now only set/changed, when clearing input fields or adding an address via addressbook - re-work / update some strings - ensure model gets initialized in the SignVerifyMessageDialog constructor - add checks for a valid model to both addressbook buttons - remove unneeded includes for Qt GUI elements that are listed in ui_signverifymessagedialog.h anyway
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-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-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