Jeff Garzik
091aa8dae9
RPC: add getbestblockhash, to return tip of best chain
12 years ago
Gavin Andresen
6e802ac85d
Merge pull request #2801 from gavinandresen/urifix
...
Fixes for bitcoin: URI handling on Linux
12 years ago
Pieter Wuille
28bcf3b7ef
Merge pull request #2803 from sipa/tarversion
...
Fix build date for from-tarball builds
12 years ago
Pieter Wuille
21cc8bdcbe
Fix build date for from-tarball builds
12 years ago
Gavin Andresen
89781d00dd
README for contrib/debian
12 years ago
Gavin Andresen
bf81a3ef78
Fix Gnome bitcoin: URI handler
12 years ago
Pieter Wuille
a4f43075d6
Merge pull request #2793 from Diapolo/translations
...
translation update 2013-06-25
12 years ago
Pieter Wuille
1f2d739ac1
Merge pull request #2174 from CodeShark/sync_macro_clarification
...
Added comments to sync.h to make it easier to understand the macros
12 years ago
Eric Lombrozo
042da8bc0d
Added comments to sync.h to make it easier to understand the macros
12 years ago
Pieter Wuille
4ad73c6b08
Merge pull request #2209 from CodeShark/WalletRegistrationLocks
...
Wallet registration locks in main.cpp + UnregisterAllWallet() function
12 years ago
Jeff Garzik
481d899794
Merge pull request #2792 from sipa/coreimpl
...
Move core implementations to core.cpp
12 years ago
Peter Todd
c40a5aaaf4
Truncate oversize 'tx' messages before relaying/storing.
...
Fixes a memory exhaustion attack on low-memory peers.
12 years ago
Gavin Andresen
2e01ec3207
Merge pull request #2679 from vhf/patch-1
...
Too many bitcoins allowed as amount. (Issue #2401 )
12 years ago
Philip Kaufmann
dae158132d
translation update 2013-06-25
...
- updates bitcoinstrings.cpp and bitcoin_en.ts so new translations can be
made on Transifex
12 years ago
Pieter Wuille
f121db58e4
Move core implementations to core.cpp
12 years ago
Eric Lombrozo
e6fe8e77fb
Calling UnregisterAllWallets() instead of UnregisterWallet(pwalletMain) in init.cpp
12 years ago
Eric Lombrozo
e5cefb9be1
Added locks on the setpwalletRegistered functions in main.cpp and added an UnregisterAllWallets function.
12 years ago
Jeff Garzik
79f6925fac
main.h->core.h include dependency improvements.
12 years ago
Jeff Garzik
396485b14d
Merge pull request #2789 from sipa/overdump
...
Dump addresses every 15 minutes instead of 10 seconds
12 years ago
Jeff Garzik
b0868eaf5f
Merge pull request #2771 from super3/master
...
Docs Markdown Cleanup - Part 2
12 years ago
Jeff Garzik
64225f7ce9
Merge pull request #2758 from CodeShark/CBlock-to-core
...
Finish moving core data structures into core.h.
12 years ago
Pieter Wuille
c43da3f183
Dump addresses every 15 minutes instead of 10 seconds
12 years ago
Eric Lombrozo
33944573ca
Moved CBlock from main.h to core.h
12 years ago
Eric Lombrozo
2a4d3464fd
Pulled AcceptBlock out of CBlock.
12 years ago
Eric Lombrozo
38991ffa8a
Pulled CheckBlock out of CBlock.
12 years ago
Eric Lombrozo
1959997afb
Pulled AddToBlockIndex out of CBlock.
12 years ago
Eric Lombrozo
f3ae51dcce
Pulled ConnectBlock out of CBlock.
12 years ago
Eric Lombrozo
5c363ed622
Pulled DisconnectBlock out of CBlock.
12 years ago
Eric Lombrozo
8031399494
Moved ReadBlockFromDisk implementation to main.cpp
12 years ago
Eric Lombrozo
7db120d531
Moved CBlock::ReadFromDisk out of CBlock to functions ReadBlockFromDisk in main.h
12 years ago
Eric Lombrozo
226f821942
Moved WriteBlockToDisk implementation from main.h to main.cpp
12 years ago
Eric Lombrozo
a6dba0fdb2
Moved CBlock::WriteToDisk out of CBlock to inline function WriteBlockToDisk in main.h
12 years ago
Pieter Wuille
fd967fed89
Merge pull request #2783 from sipa/newtxindex
...
Initialize database before checking changed txindex
12 years ago
Pieter Wuille
ee4949794b
Merge pull request #2592 from sipa/dumpwallet
...
Add dumpwallet and importwallet RPC commands
12 years ago
Jeff Garzik
5aa40ac207
Merge pull request #2787 from Diapolo/makefiles
...
fix makefiles and init.cpp after chainparams merge
12 years ago
Philip Kaufmann
336a53ddbc
fix makefiles and init.cpp after chainparams merge
...
- add missing chainparams.o to some makefiles
- remove a double-include of chainparams.h in init.cpp
12 years ago
Jeff Garzik
d1e38050e2
Merge pull request #2786 from jgarzik/double-inc
...
init.cpp: fix chainparams.h double include.
12 years ago
Jeff Garzik
6d3f0058f7
init.cpp: fix chainparams.h double include.
...
Noticed by Diapolo.
12 years ago
Jeff Garzik
4be2aba302
Merge pull request #2778 from jgarzik/rpc-verifydb
...
RPC: add 'verifychain' to verify chain database at runtime
12 years ago
Jeff Garzik
980bfe6ef8
Log reason for non-standard transaction rejection
12 years ago
Pieter Wuille
b4a8a326c0
Merge pull request #2660 from TheBlueMatt/gmfrefactor
...
Refactor fee rules to make them actually readable.
12 years ago
Pieter Wuille
48628fd98c
Merge pull request #2765 from vobornik/master
...
recognize Debian kFreeBSD port by build_detect_platform script
12 years ago
Pieter Wuille
cccd17a1b2
Merge pull request #2768 from fanquake/brew-makefile-patch-fix
...
Update HomeBrew makefile patch
12 years ago
Pieter Wuille
4e534aa9d8
Add dumpwallet and importwallet RPCs
...
dumpwallet: produce a dump of all keys in a wallet, in a format
compatible with Bitcoin Wallet for Android and Multibit.
importwallet: import such a dump
12 years ago
Pieter Wuille
434e4273b9
Add GetKeyBirthTimes to wallet
...
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.
12 years ago
Pieter Wuille
acc775c554
Add ExtractAffectedKeys to script
...
This function finds all keys affected by a particular output script,
supporting everything ExtractDestinations supports (pay-to-pubkey,
pay-to-pubkeyhash, multisig) and recurses into subscripts (P2SH).
12 years ago
Pieter Wuille
067a6092ac
Initialize database before checking changed txindex
...
In case no database exists yet, and -txindex(=1) is passed, we currently first
check whether fTxIndex differs from -txindex (and ask the user to reindex in
that case), and only afterwards initialize the database. By swapping these
around (the initialization is a no-op in case the database already exists),
we allow it to be born in txindex mode, without warning.
That also means we don't need to check -reindex anymore, as the wiping/reinit
of the databases happens before checking.
12 years ago
Pieter Wuille
01b45731b7
Merge pull request #2632 from mikehearn/chainparams
...
Refactor chain-specific tweaks into a CChainParams class and introduce a regtest mode
12 years ago
Pieter Wuille
905738a15a
Merge pull request #2781 from sipa/keytimemem
...
Refactor keytime/metadata and wallet encryption bugfix
12 years ago
Pieter Wuille
4addb2c066
Refactor keytime/metadata and wallet encryption bugfix
...
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.
12 years ago