Permalink
...
Checking mergeability…
Don’t worry, you can still create the pull request.
Azulan
commented on
Comparing changes
Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also .
Open a pull request
Create a new pull request by comparing changes across two branches. If you need to, you can also .
Choose a Base Repository
bitcoin/bitcoin
8706774431/litecoin
9cat/templecoin
Anoncoin/anoncoin
BSafe-network/bitcoin
BitAltcoin/bitaltcoin
BitcoinHardfork/bitcoin
BitcoinPRReadingGroup/bitcoin
BitcoinUnlimited/BitcoinUnlimited
ClaireDuSoleil/bitcoin
CoinBlack/blackcoin
Crowndev/crowncoin
DarrellDuane/bitcoin
Diapolo/bitcoin
EvgenijM86/emercoin
Fermat-ORG/iop-token-server
Flowdalic/bitcoin
Gamerbit/omnicore
GeorgeKimionis/bitcoin
HOdlcoin/HOdlcoin
HongPong/bitcoin
KnCMiner/bitcoin
ManAgainstCode/bitcoin
MazaCoin/maza
OmniLayer/omnicore
Orbitcoin/Orbitcoin
PIVX-Project/PIVX
Peershare/Peershare
Peershares/Peershares
Peerunity/Peerunity
SandyCohen/mincoin
ShadowOfHarbringer/bitcoin-nftf
SproutsCommunityRep/sprouts
T-X/bitcoin-git
TheBlueMatt/bitcoin
TheSeven/ppcoin
TommyWorldPower/Energi
TorinKwok/bitcoin
TripleSpeeder/bitcoin
UASF/bitcoin
Unseen/Goldbits
VirtualDestructor/bitcoin-qt-i2p
VsyncCrypto/Vsync
ZoomT/bitcoin
aLQ/bitbar
aaronschmitz/chronocrypt
ahmedbodi/bytecoin
atmshop/litecoin
aurarad/auroracoin-old
bankledger/bitcoin
bfroemel/smallchange
bitcoin-hivemind/hivemind
bitcoinclassic/bitcoinclassic
bitcoinec/bitcoinec
bitcoinfibre/bitcoinfibre
bitcoinknots/bitcoin
bitgem/bitgem
bitpay/bitcoin
bitshares/bitshares-pts
bitundo/bitcoin
bitzeny/bitzeny
bloq/bitcoin
bobsomers/ANDREWCHANcoin
bryan-mills/bytecoin
btc1/bitcoin
btcdrak/bitcoin
bytemaster/bitshare_bitcoin_branch
cdecker/bitcoin
chaincoin/chaincoin
cloudcoin/cloudcoin
codebounty/bitcoin
creativechain/creativechain-core
credits-currency/credits
darkhosis/Gangnam-Style-v4-tandified
dashpay/dash
dexX7/bitcoin
dgarage/bc2
donSchoe/xolominer
dooglus/bitcoin
drivechain-implementation-2/bitcoin
drivechain-project/bitcoin
earthcoinproject/earthcoin
eduffield222/dash
elacoin/elacoin
emercoin/emercoin
energicryptocurrency/energi
ezcoin/ezcoin
faircoin/faircoin
fhcteam/FengHuangCoin
florincoin/florincoin
foo1inge/datacoin
foocoin/freicoin
franko-org/franko
freewil/bitcoin
freicoin/freicoin-old
fusebox/i0coin
gandrewstone/BitcoinUnlimited
gasteve/bitcoin
gavinandresen/bitcoin-git
genjix/bitcoin
glv2/peerunity
gmaxwell/bitcoin
goku1997/bitcoin
groffer/bitcoin
halfinney/bitcoin
harry-1989/bitcoin
hrobeers/peercoin
ixcoin/ixcoin
jakeva/bitcoin-pwcheck
janko33bd/bitcoin
jaromil/bitcoin
javgh/bitcoin
jgarzik/bitcoin
jl2012/bitcoin
jlcurby/NobleCoin
jlopp/statoshi
jmezinskis/calcoin
jonasschnelli/bitcoin
jonls/bitcoin
jordanlewis/bitcoin
joulecoin/joulecoin
kaiquewdev/bitcoin
keesdewit82/LasVegasCoin
keninishna/ass-pennies
knotwork/Mergecoin
laanwj/bitcoin
litecoin-project/litecoin
llluiop/bitcoin
luke-jr/bitcoin
lzsaver/bitcoin-translation
m0mchil/bitcoin
m21/mastercore
maaku/bitcoin
mad/bitcoin
makomk/bitcoin
marscoin/marscoin
mastercoin-MSC/mastercore
mathwizard1232/nyancoins
megacoin/megacoin
memorycoin/memorycoin
mhanne/bitcoin
mikaelh2/primecoin
mikehearn/bitcoin
mincoin/mincoin
morcos/bitcoin
mrmayfield/bitcoin
mrtexaznl/mediterraneancoin
myriadcoin/myriadcoin
myriadteam/myriadcoin
namuyan/kumacoin-v2
nsacoin/nsacoin
onecoin/onecoin
particl/particl-core
peercoin/peercoin
petertodd/bitcoin
phelixbtc/bitcoin
pocopoco/yacoin
primecoin/primecoin
primedigger/primecoin
raghuariga/bitcoin
rakyll/bitcoin
reddcoin-project/reddcoin
reddink/reddcoin
reinier19/bitcoin
riecoin/riecoin
ronpaulcoin/ronpaulcoin
runn1ng/bitcoin
ryanxcharles/bitcoin
satoshisbitcoin/satoshisbitcoin
sdhjob/bitcoin
segsignal/bitcoin
sifcoin/sifcoin
sipa/bitcoin
skeincoin/skeincoin
sppl/mavro
stcupp/bitcoin
stuycoin/stuycoin
sunnyking/ppcoin
syscoin/syscoin2
tcatm/bitcoin
thbaumbach/primecoin
theuni/bitcoin
timohanke/bitcoin
timothyej/bitcoin
truthcoin/truthcoin-cpp
tumf/litecoin
tzuryby/bitcoin
udibr/bitcoin
umaar/bitcoin
umiyuki/sayacoin
vertcoin/vertcoin-old
vinced/namecoin
vtcex/bitcoin
whitslack/bitcoin-infinity
worldcoinproject/worldcoin-v0.8
yacoin/yacoin
zachlatta/marscoin
zathras-crypto/omnicore
zeta-dev/zetacoin
zetacoin/zetacoin
Nothing to show
Choose a Head Repository
bitcoin/bitcoin
8706774431/litecoin
9cat/templecoin
Anoncoin/anoncoin
BSafe-network/bitcoin
BitAltcoin/bitaltcoin
BitcoinHardfork/bitcoin
BitcoinPRReadingGroup/bitcoin
BitcoinUnlimited/BitcoinUnlimited
ClaireDuSoleil/bitcoin
CoinBlack/blackcoin
Crowndev/crowncoin
DarrellDuane/bitcoin
Diapolo/bitcoin
EvgenijM86/emercoin
Fermat-ORG/iop-token-server
Flowdalic/bitcoin
Gamerbit/omnicore
GeorgeKimionis/bitcoin
HOdlcoin/HOdlcoin
HongPong/bitcoin
KnCMiner/bitcoin
ManAgainstCode/bitcoin
MazaCoin/maza
OmniLayer/omnicore
Orbitcoin/Orbitcoin
PIVX-Project/PIVX
Peershare/Peershare
Peershares/Peershares
Peerunity/Peerunity
SandyCohen/mincoin
ShadowOfHarbringer/bitcoin-nftf
SproutsCommunityRep/sprouts
T-X/bitcoin-git
TheBlueMatt/bitcoin
TheSeven/ppcoin
TommyWorldPower/Energi
TorinKwok/bitcoin
TripleSpeeder/bitcoin
UASF/bitcoin
Unseen/Goldbits
VirtualDestructor/bitcoin-qt-i2p
VsyncCrypto/Vsync
ZoomT/bitcoin
aLQ/bitbar
aaronschmitz/chronocrypt
ahmedbodi/bytecoin
atmshop/litecoin
aurarad/auroracoin-old
bankledger/bitcoin
bfroemel/smallchange
bitcoin-hivemind/hivemind
bitcoinclassic/bitcoinclassic
bitcoinec/bitcoinec
bitcoinfibre/bitcoinfibre
bitcoinknots/bitcoin
bitgem/bitgem
bitpay/bitcoin
bitshares/bitshares-pts
bitundo/bitcoin
bitzeny/bitzeny
bloq/bitcoin
bobsomers/ANDREWCHANcoin
bryan-mills/bytecoin
btc1/bitcoin
btcdrak/bitcoin
bytemaster/bitshare_bitcoin_branch
cdecker/bitcoin
chaincoin/chaincoin
cloudcoin/cloudcoin
codebounty/bitcoin
creativechain/creativechain-core
credits-currency/credits
darkhosis/Gangnam-Style-v4-tandified
dashpay/dash
dexX7/bitcoin
dgarage/bc2
donSchoe/xolominer
dooglus/bitcoin
drivechain-implementation-2/bitcoin
drivechain-project/bitcoin
earthcoinproject/earthcoin
eduffield222/dash
elacoin/elacoin
emercoin/emercoin
energicryptocurrency/energi
ezcoin/ezcoin
faircoin/faircoin
fhcteam/FengHuangCoin
florincoin/florincoin
foo1inge/datacoin
foocoin/freicoin
franko-org/franko
freewil/bitcoin
freicoin/freicoin-old
fusebox/i0coin
gandrewstone/BitcoinUnlimited
gasteve/bitcoin
gavinandresen/bitcoin-git
genjix/bitcoin
glv2/peerunity
gmaxwell/bitcoin
goku1997/bitcoin
groffer/bitcoin
halfinney/bitcoin
harry-1989/bitcoin
hrobeers/peercoin
ixcoin/ixcoin
jakeva/bitcoin-pwcheck
janko33bd/bitcoin
jaromil/bitcoin
javgh/bitcoin
jgarzik/bitcoin
jl2012/bitcoin
jlcurby/NobleCoin
jlopp/statoshi
jmezinskis/calcoin
jonasschnelli/bitcoin
jonls/bitcoin
jordanlewis/bitcoin
joulecoin/joulecoin
kaiquewdev/bitcoin
keesdewit82/LasVegasCoin
keninishna/ass-pennies
knotwork/Mergecoin
laanwj/bitcoin
litecoin-project/litecoin
llluiop/bitcoin
luke-jr/bitcoin
lzsaver/bitcoin-translation
m0mchil/bitcoin
m21/mastercore
maaku/bitcoin
mad/bitcoin
makomk/bitcoin
marscoin/marscoin
mastercoin-MSC/mastercore
mathwizard1232/nyancoins
megacoin/megacoin
memorycoin/memorycoin
mhanne/bitcoin
mikaelh2/primecoin
mikehearn/bitcoin
mincoin/mincoin
morcos/bitcoin
mrmayfield/bitcoin
mrtexaznl/mediterraneancoin
myriadcoin/myriadcoin
myriadteam/myriadcoin
namuyan/kumacoin-v2
nsacoin/nsacoin
onecoin/onecoin
particl/particl-core
peercoin/peercoin
petertodd/bitcoin
phelixbtc/bitcoin
pocopoco/yacoin
primecoin/primecoin
primedigger/primecoin
raghuariga/bitcoin
rakyll/bitcoin
reddcoin-project/reddcoin
reddink/reddcoin
reinier19/bitcoin
riecoin/riecoin
ronpaulcoin/ronpaulcoin
runn1ng/bitcoin
ryanxcharles/bitcoin
satoshisbitcoin/satoshisbitcoin
sdhjob/bitcoin
segsignal/bitcoin
sifcoin/sifcoin
sipa/bitcoin
skeincoin/skeincoin
sppl/mavro
stcupp/bitcoin
stuycoin/stuycoin
sunnyking/ppcoin
syscoin/syscoin2
tcatm/bitcoin
thbaumbach/primecoin
theuni/bitcoin
timohanke/bitcoin
timothyej/bitcoin
truthcoin/truthcoin-cpp
tumf/litecoin
tzuryby/bitcoin
udibr/bitcoin
umaar/bitcoin
umiyuki/sayacoin
vertcoin/vertcoin-old
vinced/namecoin
vtcex/bitcoin
whitslack/bitcoin-infinity
worldcoinproject/worldcoin-v0.8
yacoin/yacoin
zachlatta/marscoin
zathras-crypto/omnicore
zeta-dev/zetacoin
zetacoin/zetacoin
Nothing to show
27
contributors
Commits on May 09, 2014
|
|
laanwj |
Bump version numbers for 0.9.2 branch split-off
Show version as 0.9.1.99 until rc1. |
c11c72c
|
Commits on May 12, 2014
|
|
posita + laanwj |
fixes #4163
Rebased-by: Wladimir J. van der Laan <laanwj@gmail.com> Rebased-from: 90fd873 |
78363dc
|
|||
|
|
shshshsh + laanwj |
Switch stdout to line buffering
Use line buffering (instead of block buffering) so that messages arrive immediately in systemd-journald, tail -f debug.log, and the like. Rebased-By: Wladimir J. van der Laan <laanwj@gmail.com> Rebased-From: 283e405 |
a39d4e3
|
|||
|
|
sipa + laanwj |
Squashed 'src/leveldb/' changes from 9094c7f..7924331
42dcc7e Merge upstream LevelDB 1.17. e353fbc Release LevelDB 1.17 269fc6c Release LevelDB 1.16 REVERT: 9094c7f Temporarily revert to writing .sst files instead of .ldb git-subtree-dir: src/leveldb git-subtree-split: 79243314e40ac31d79c68e5658a1d6a64800d50b Rebased-By: Wladimir J. van der Laan <laanwj@gmail.com> Rebased-From: 938b689 |
26ceac4
|
|||
|
|
laanwj |
Remove dummy PRIszX macros for formatting
|
This commit was signed with a verified signature.
GPG key ID: 74810B012346C9A6
Learn about signing commits
|
72ae546
|
||
|
|
sipa + laanwj |
Move base58.h implementation code to base58.cpp
Rebased-By: Wladimir J. van der Laan <laanwj@gmail.com> Rebased-From: f6b7c64 |
This commit was signed with a verified signature.
GPG key ID: 74810B012346C9A6
Learn about signing commits
|
010e661
|
||
|
|
laanwj |
rpc: pass errors from async_accept
According to the [boost::asio documentation](http://www.boost.org/doc/libs/1_55_0/doc/html/boost_asio/reference/basic_socket_acceptor/async_accept/overload2.html), the function signature of the handler must be: void handler( const boost::system::error_code& error // Result of operation. ); We were binding *all* the arguments, instead of all but the error, resulting in nullary function that never got the error. Fix this by adding an input argument substitution. Rebased-By: Wladimir J. van der Laan <laanwj@gmail.com> Rebased-From: 0a0cd34 |
1ed6d49
|
|||
|
|
laanwj |
rpc: Make sure conn object is always cleaned up
Make sure conn object always gets cleaned up by using a `boost::shared_ptr`. This makes valgrind happy - before this commit, one connection object always leaked at shutdown, as well as can avoid other leaks, when for example an exception happens. Also add an explicit Close() to the !ClientAllowed path to make it similar to the normal path (I'm not sure whether it is needed, but it can't hurt). Rebased-By: Wladimir J. van der Laan Rebased-From: 1a44522 |
203a0cf
|
|||
|
|
laanwj |
doc: remove mention of `-rpctimeout` from man page
That option hasn't existed for a long time. Rebased-By: Wladimir J. van der Laan <laanwj@gmail.com> Rebased-From: 381b25d |
8b1a93f
|
|||
|
|
laanwj |
rpc: keep track of acceptors, and cancel them in StopRPCThreads
Fixes #4156. The problem is that the boost::asio::io_service destructor waits for the acceptors to finish (on windows, and boost 1.55). Fix this by keeping track of the acceptors and cancelling them before stopping the event loops. Rebased-By: Wladimir J. van der Laan <laanwj@gmail.com> Rebased-From: cef4494 |
This commit was signed with a verified signature.
GPG key ID: 74810B012346C9A6
Learn about signing commits
|
9f535d4
|
Commits on May 13, 2014
|
|
laanwj |
qt: periodic language update
Pull updated translations from Transifex. Add mn (Mongolian) language. Do not update English translation for now as we want to keep compatibility with 0.9. Rebased-By: Wladimir J. van der Laan <laanwj@gmail.com> Rebased-From: 795b921 |
This commit was signed with a verified signature.
GPG key ID: 74810B012346C9A6
Learn about signing commits
|
4b8a3ab
|
Commits on May 19, 2014
|
|
itoffshore + laanwj |
SetupEnvironment() - clean commit
Rebased-By: Wladimir J. van der Laan <laanwj@gmail.com> Rebased-From: 5248ff4 |
This commit was signed with a verified signature.
GPG key ID: 74810B012346C9A6
Learn about signing commits
|
337459b
|
Commits on May 21, 2014
|
|
kdomanski + laanwj |
switch from boost int types to <stdint.h>
|
This commit was signed with a verified signature.
GPG key ID: 74810B012346C9A6
Learn about signing commits
|
79144ac
|
||
|
|
kdomanski + laanwj |
remove ParseString(...) which is never used
Rebased-By: Wladimir J. van der Laan <laanwj@gmail.com> Rebased-From: be54b87 |
This commit was signed with a verified signature.
GPG key ID: 74810B012346C9A6
Learn about signing commits
|
e917bdb
|
||
|
|
theuni + laanwj |
gitian: Add OSX build descriptors
|
This commit was signed with a verified signature.
GPG key ID: 74810B012346C9A6
Learn about signing commits
|
f72b475
|
||
|
|
laanwj |
qt: Periodic language update
Rebased-By: Wladimir J. van der Laan <laanwj@gmail.com> Rebased-From: 6fcdad7 |
This commit was signed with a verified signature.
GPG key ID: 74810B012346C9A6
Learn about signing commits
|
ac1dd87
|
||
|
|
sipa + laanwj |
Add missing LOCK(cs_main)
Rebased-By: Wladimir J. van der Laan <laanwj@gmail.com> Rebased-From: 305ccaa |
This commit was signed with a verified signature.
GPG key ID: 74810B012346C9A6
Learn about signing commits
|
2585310
|
Commits on May 23, 2014
|
|
laanwj |
Replace non-threadsafe strerror
Log the name of the error as well as the error code if a network problem happens. This makes network troubleshooting more convenient. Use thread-safe strerror_r and the WIN32 equivalent FormatMessage. Conflicts: src/netbase.cpp Rebased-By: Wladimir van der Laan <laanwj@gmail.com> Rebased-From: a60838d |
This commit was signed with a verified signature.
GPG key ID: 74810B012346C9A6
Learn about signing commits
|
e0036e9
|
||
|
|
laanwj |
Replace non-threadsafe gmtime and setlocale
Make DateTimeStrFormat use boost::posix_time. Also re-enable the util_DateTimeStrFormat tests, as they are no longer platform specific. Rebased-By: Wladimir J. van der Laan <laanwj@gmail.com> Rebased-From: 3e8ac6a |
This commit was signed with a verified signature.
GPG key ID: 74810B012346C9A6
Learn about signing commits
|
a626497
|
||
|
|
laanwj |
qt: Periodic language update
Last-minute language update before release 0.9.2. Rebased-By: Wladimir J. van der Laan <laanwj@gmail.com> Rebased-From: a8a0db6 |
48115f5
|
|||
|
|
gavinandresen + laanwj |
Add Tips and Tricks section to README
Rebased-By: Wladimir J. van der Laan <laanwj@gmail.com> Rebased-From: c47f537 |
This commit was signed with a verified signature.
GPG key ID: 74810B012346C9A6
Learn about signing commits
|
042bdd3
|
||
|
|
laanwj |
Add preliminary release notes for 0.9.2
|
5fa6143
|
Commits on May 29, 2014
|
|
cozz + laanwj |
[Qt] Fix Start bitcoin on system login
Rebased-By: Wladimir J. van der Laan <laanwj@gmail.com> Rebased-From: 066d9a5 |
This commit was signed with a verified signature.
GPG key ID: 74810B012346C9A6
Learn about signing commits
|
6fb7591
|
||
|
|
theuni + laanwj |
release: Bump the OSX SDK to 10.7 for gitian builds
This fixes the display on Retina Macbooks. It also moves us away from depending on the ancient XCode3 sdk. Conflicts: doc/release-process.md Rebased-By: Wladimir J. van der Laan <laanwj@gmail.com> Rebased-From: 2869b13 |
This commit was signed with a verified signature.
GPG key ID: 74810B012346C9A6
Learn about signing commits
|
768cef9
|
||
|
|
sipa + laanwj |
No references to centralized databases in help text.
Rebased-By: Wladimir J. van der Laan <laanwj@gmail.com> Rebased-From: b5ef85c |
This commit was signed with a verified signature.
GPG key ID: 74810B012346C9A6
Learn about signing commits
|
2f89f4b
|
Commits on May 30, 2014
|
|
theuni + laanwj |
osx: Fix missing dock menu with qt5
Qt5 Removed the qt_mac_set_dock_menu function and left no replacement. It was later re-added and deprecated for backwards-compatibility. Qt5.2 adds the non-deprecated QMenu::setAsDockMenu(). Use that when possible. Rebased-By: Wladimir J. van der Laan <laanwj@gmail.com> Rebased-From: c21c74b |
This commit was signed with a verified signature.
GPG key ID: 74810B012346C9A6
Learn about signing commits
|
3a4a66f
|
Commits on Jun 01, 2014
|
|
sipa + laanwj |
Limit number of known addresses per peer
Rebased-By: Wladimir J. van der Laan <laanwj@gmail.com> Rebased-From: 5823449 |
This commit was signed with a verified signature.
GPG key ID: 74810B012346C9A6
Learn about signing commits
|
d6377e6
|
||
|
|
laanwj |
Set client version to release
No longer show the "Do not use..." banner. |
64e1082
|
|||
|
|
laanwj |
Periodic language update
Pull updated translations from Transifex before 0.9.2 Rebased-By: Wladimir J. van der Laan <laanwj@gmail.com> Rebased-From: 11ef78f |
This commit was signed with a verified signature.
GPG key ID: 74810B012346C9A6
Learn about signing commits
|
41b96da
|
Commits on Jun 02, 2014
|
|
4tar + laanwj |
Use pnode->nLastRecv as sync score directly
NodeSyncScore() should find the node which we recv data most recently, so put a negative sign to pnode->nLastRecv is indeed wrong. Also change the return value type to int64_t. Signed-off-by: Huang Le <4tarhl@gmail.com> Rebased-By: Wladimir J. van der Laan <laanwj@gmail.com> Rebased-From: 09a54a6 |
This commit was signed with a verified signature.
GPG key ID: 74810B012346C9A6
Learn about signing commits
|
acb5356
|
Commits on Jun 03, 2014
|
|
tm314159 + laanwj |
Properly initialize CWallet::nTimeFirstKey
Rebased-From: 91855f2 Rebased-By: Wladimir J. van der Laan <laanwj@gmail.com> |
This commit was signed with a verified signature.
GPG key ID: 74810B012346C9A6
Learn about signing commits
|
eac2cdc
|
Commits on Jun 06, 2014
|
|
laanwj |
gitian: upgrade OpenSSL to 1.0.1h
Upgrade for https://www.openssl.org/news/secadv_20140605.txt Just in case - there is no vulnerability that affects ecdsa signing or verification. The MITM attack vulnerability (CVE-2014-0224) may have some effect on our usage of SSL/TLS. As long as payment requests are signed (which is the common case), usage of the payment protocol should also not be affected. The TLS usage in RPC may be at risk for MITM attacks. If you have `-rpcssl` enabled, be sure to update OpenSSL as soon as possible. Rebased-By: Wladimir J. van der Laan <laanwj@gmail.com> Rebased-From: 6e7c4d1 |
This commit was signed with a verified signature.
GPG key ID: 74810B012346C9A6
Learn about signing commits
|
3ae41a6
|
||
|
|
Jeff Garzik + laanwj |
CWallet: fix nTimeFirstKey init, by making constructor init common code
Don't repeat yourself etc. Rebased-From: d04fd3e Rebased-By: Wladimir J. van der Laan <laanwj@gmail.com> |
This commit was signed with a verified signature.
GPG key ID: 74810B012346C9A6
Learn about signing commits
|
7ccadd4
|
||
|
|
laanwj |
qt: Periodic translation update
Rebased-From: db41541 Rebased-By: Wladimir J. van der Laan <laanwj@gmail.com> |
This commit was signed with a verified signature.
GPG key ID: 74810B012346C9A6
Learn about signing commits
|
e39a3f2
|
Commits on Jun 13, 2014
|
|
laanwj |
add 0.9.2rc2 changes to release notes
|
This commit was signed with a verified signature.
GPG key ID: 74810B012346C9A6
Learn about signing commits
|
94cfe33
|
||
|
|
laanwj |
fix download link and release in release notes
|
This commit was signed with a verified signature.
GPG key ID: 74810B012346C9A6
Learn about signing commits
|
505681f
|
Commits on Jun 15, 2014
|
|
laanwj |
gitian: make linux qt intermediate deterministic
Make the instdate for lrelease etc deterministic. This should have been part of 0.9.2. Luckily this doesn't affect the end product, it is just a bit annoying. Rebased-From: 386e732 Rebased-By: Wladimir J. van der Laan <laanwj@gmail.com> |
This commit was signed with a verified signature.
GPG key ID: 74810B012346C9A6
Learn about signing commits
|
bd65d70
|
Commits on Jun 18, 2014
|
|
theuni + laanwj |
Qt: Fix monospace font in osx 10.9
The "Monospace" hint was added in Qt 4.8, and it works as intended as opposed to "TypeWriter" which fails to load a font. Rebased-From: e9df7f8 Rebased-By: Wladimir J. van der Laan |
9d5b5c3
|
Commits on Jun 19, 2014
|
|
laanwj |
rpc: Ignore and log errors during cancel
Cancelling the RPC acceptors can sometimes result in an error about a bad file descriptor. As this is the shutdown sequence we need to continue nevertheless, ignore these errors, log a warning and proceed. Fixes #4352. |
a378852
|
|||
|
|
laanwj |
rpc: Add acceptors only when listening succeeded
Rebased-From: 6afa493 Rebased-By: Wladimir J. van der Laan <laanwj@gmail.com> |
This commit was signed with a verified signature.
GPG key ID: 74810B012346C9A6
Learn about signing commits
|
b64b1c6
|
||
|
|
laanwj |
Bump version to 0.9.2.1
|
This commit was signed with a verified signature.
GPG key ID: 74810B012346C9A6
Learn about signing commits
|
354c0f3
|
Commits on Jul 04, 2014
|
|
laanwj |
Remove NumBlocksOfPeers
Generally useless information. Only updates on connect time, not after that. Peers can easily lie and the median filter is not effective in preventing that. In the past it was used for progress display in the GUI but `CheckPoints::guessVerificationProgress` provides a better way that is now used. It was too easy to mislead it. Peers do lie about it in practice, see issue #4065. From the RPC, `getpeerinfo` gives the peer raw values, which are more useful. |
752ecec
|
Commits on Aug 18, 2014
|
|
laanwj |
Version bump for 0.9.3
|
6862c8b
|
|||
|
|
laanwj |
Don't poll showmyip.com, it doesn't exist anymore
|
5332b0a
|
|||
|
|
zw + laanwj |
In -? output: -keypool, -gen, -genproclimit depend on ENABLE_WALLET
Rebased-From: a7e1d50 |
5baa4a9
|
|||
|
|
theuni + laanwj |
Remove bignum dependency for scripts
|
84efe0e
|
|||
|
|
zw + laanwj |
Clarify that redeemScript is often optional
Rebased-From: 6265ecc |
221684c
|
|||
|
|
haight6716 + laanwj |
qt: fix 'opens in testnet mode when presented with a BIP-72 link with…
… no fallback' Passes tests: ``` $ ./bitcoin-qt 'bitcoin:?r=http://www.example.com/' .. fixed the original problem - this launches mainnet. $ ./bitcoin-qt 'bitcoin:mngeNQbTKnmaMbx8EXCYdwUbnt9JJD52cC' .. launches testnet $ ./bitcoin-qt -testnet 'bitcoin:1NXXeQRyMFFFRfyUix2o7mk1vhvk2Nxp78' .. sanity check - launches mainnet. ``` Fixes #4355. Closes #4411. Rebased-From: dd49e92 |
bf75a3d
|
|||
|
|
rdponticelli + laanwj |
Avoid a segfault on getblock if it can't read a block from disk.
Rebased-From: 954d2e7 |
44d8e09
|
|||
|
|
JohnDolittle + laanwj |
AvailableCoins: acquire cs_main mutex
It's required when called from WalletModel Rebased-From: ea3acaf |
0a6dcae
|
|||
|
|
jmcorgan + laanwj |
Update Debian packaging description for new bitcoin-cli
Rebased-From: 45abeb2 |
d78e431
|
|||
|
|
sipa + laanwj |
Add a way to limit deserialized string lengths
and use it for most strings being serialized. Rebased-From: 216e9a4 |
a789965
|
|||
|
|
thofmann + laanwj |
Add a new checkpoint at block 295,000
Block 295,000 seems to meet the criteria of a reasonable timestamp and no strange transactions. 295,000 is the current block height in the bootstrap.dat torrent provided by jgarzik. Rebased-From: 125fba1 |
2382631
|
|||
|
|
apoelstra + laanwj |
key.cpp: fail with a friendlier message on missing ssl EC support
Previously if bitcoind is linked with an OpenSSL which is compiled without EC support, this is seen as an assertion failure "pKey != NULL" at key.cpp:134, which occurs after several seconds. It is an esoteric piece of knowledge to interpret this as "oops, I linked with the wrong OpenSSL", and because of the delay it may not even be noticed. The new output is : OpenSSL appears to lack support for elliptic curve cryptography. For more information, visit https://en.bitcoin.it/wiki/OpenSSL_and_EC_Libraries : Initialization sanity check failed. Bitcoin Core is shutting down. which occurs immediately after attempted startup. This also blocks in an InitSanityCheck() function which currently only checks for EC support but should eventually do more. See #4081. Rebased-From: 4a09e1d |
f6f4c83
|
|||
|
|
Jeff Garzik + laanwj |
base58: add paranoid return value checks
Rebased-From: 88df548 |
f8cdf4f
|
|||
|
|
laanwj |
Ignore too-long redeemScripts while loading wallet
|
4b57c5b
|
|||
|
|
petertodd + laanwj |
Check redeemScript size does not exceed 520 byte limit
redeemScripts >520bytes can't be spent due to the MAX_SCRIPT_ELEMENT_SIZE limit; previously the addmultisigaddress and createmultisig RPC calls would let you violate that limit unknowingly. Also made the wallet code itself check the redeemScript prior to adding it to the wallet, which in the (rare) instance that a user has added an invalid oversized redeemScript to their wallet causes an error on startup. The affected key isn't added to the wallet; other keys are unaffected. |
fd0c460
|
|||
|
|
petertodd + laanwj |
Increase IsStandard() scriptSig length
Removes the limits on number of pubkeys for P2SH CHECKMULTISIG outputs. Previously with the 500 byte scriptSig limit there were odd restrictions where even a 1-of-12 P2SH could be spent in a standard transaction(1), yet multisig scriptPubKey's requiring more signatures quickly ran out of scriptSig space. From a "stuff-data-in-the-blockchain" point of view not much has changed as with the prior commit now only allowing the dummy value to be null the newly allowed scriptSig space can only be used for signatures. In any case, just using more outputs is trivial and doesn't cost much. 1) See 779b519480d8c5346de6e635119c7ee772e97ec872240c45e558f582a37b4b73 Mined by BTC Guild. |
84fe0ff
|
|||
|
|
laanwj |
preliminary release notes for 0.9.3
|
736d8b8
|
Commits on Aug 19, 2014
|
|
Jeff Garzik + laanwj |
Avoid querying DNS seeds, if we have open connections.
The goal is to increase independence and privacy. Rebased-From: 2e7009d |
This commit was signed with a verified signature.
GPG key ID: 74810B012346C9A6
Learn about signing commits
|
026b9df
|
Commits on Aug 21, 2014
|
|
fanquake + laanwj |
gitian: upgrade OpenSSL to 1.0.1i
Upgrade for https://www.openssl.org/news/secadv_20140806.txt Rebased-From: 074bcdc Github-Pull: #4648 |
bba0175
|
|||
|
|
theuni + laanwj |
qt: fix unicode character display on osx when building with 10.7 sdk
Conflicts: src/qt/bitcoin.cpp Rebased-From: 292cc07 |
This commit was signed with a verified signature.
GPG key ID: 74810B012346C9A6
Learn about signing commits
|
f62031b
|
||
|
|
theuni + laanwj |
build: Fix boost build on some platforms
|
This commit was signed with a verified signature.
GPG key ID: 74810B012346C9A6
Learn about signing commits
|
0991401
|
||
|
|
theuni + laanwj |
build: fix FDELT_TYPE configure check
This probably never worked properly. Confirmed working now with every compiler I throw at it. Rebased-From: 8021cf8 |
5591171
|
|||
|
|
theuni + laanwj |
libc-compat: add new symbol that's now needed
Rebased-From: 565e569 |
47c78c2
|
|||
|
|
rktoomey + laanwj |
Update build-osx.md
The homebrew instructions were outdated - berkeley-db4 hasn't worked for months, based on the questions I'm seeing on Google/SO. So I added a section explaining how to install berkeley-db4 using homebrew and move on with your life. Thanks for the rest of the documentation! Conflicts: doc/build-osx.md Rebased-From: b1ed7c2 |
This commit was signed with a verified signature.
GPG key ID: 74810B012346C9A6
Learn about signing commits
|
49df14d
|
Commits on Aug 22, 2014
|
|
laanwj |
gitian: Bump miniupnp version to 1.9.20140701
Also change build system: STATICLIB is now MINIUPNP_STATICLIB. |
a9c6eef
|
|||
|
|
laanwj |
doc: Add list of contributors to 0.9.3
|
This commit was signed with a verified signature.
GPG key ID: 74810B012346C9A6
Learn about signing commits
|
29ba8cc
|
||
|
|
laanwj |
qt: Language update for 0.9.3
|
This commit was signed with a verified signature.
GPG key ID: 74810B012346C9A6
Learn about signing commits
|
e6abbce
|
||
|
|
laanwj |
doc: mention translations in release notes
|
This commit was signed with a verified signature.
GPG key ID: 74810B012346C9A6
Learn about signing commits
|
a12d6ac
|
Commits on Sep 01, 2014
|
|
laanwj |
Add deeper XML checking to update-translation script
|
This commit was signed with a verified signature.
GPG key ID: 74810B012346C9A6
Learn about signing commits
|
b62172a
|
||
|
|
laanwj |
Filter translations through new update-translations script
This does not add any new messages from transifex, it just filters the current ones. |
ea55881
|
Commits on Sep 09, 2014
|
|
laanwj |
Avoid repeated lookups in mapOrphanTransactions and mapOrphanTransact…
…ionsByPrev Rebased-From: 89d91f6 Rebased-By: Wladimir J. van der Laan <laanwj@gmail.com> |
c6727f3
|
Commits on Sep 10, 2014
|
|
gavinandresen + laanwj |
Fix crashing bug caused by orphan(s) with duplicate prevout.hash
Rebased-From: def2fdb Rebased-By: Wladimir J. van der Laan |
12927dd
|
|||
|
|
laanwj |
Limit CNode::mapAskFor
Tighten resource constraints on CNode. Rebased-From: d4168c8 Rebased-By: Wladimir J. van der Laan <laanwj@gmail.com> |
This commit was signed with a verified signature.
GPG key ID: 74810B012346C9A6
Learn about signing commits
|
d030936
|
||
|
|
Jeff Garzik + laanwj |
Avoid returning many "inv" orphans
Rebased-From: 540ac45 Rebased-By: Wladimir J. van der Laan <laanwj@gmail.com> |
This commit was signed with a verified signature.
GPG key ID: 74810B012346C9A6
Learn about signing commits
|
6eb5410
|
Commits on Sep 11, 2014
|
|
laanwj |
doc: Remove outdated information about boost versions
Bitcoin core should work with any remotely recent boost version if a proper build environment is present. Remove a confusing comment from the build documentation. Rebased-From: bd45b1a |
This commit was signed with a verified signature.
GPG key ID: 74810B012346C9A6
Learn about signing commits
|
0655d64
|
||
|
|
laanwj |
build: Remove message about Ubuntu 13.10 when no boost sleep implemen…
…tation found It's only confusing people into thinking that they should mess with boost versions, which should not be necessary to get bitcoind to work. If there is a bug in the build system with autodetecting boost it needs to be solved not worked around. Rebased-From: 539abc4 |
This commit was signed with a verified signature.
GPG key ID: 74810B012346C9A6
Learn about signing commits
|
6fbd58d
|
||
|
|
phantomcircuit + laanwj |
remove useless millisleep
reduces time to service requests improving performance Rebased-From: 9189f5f |
This commit was signed with a verified signature.
GPG key ID: 74810B012346C9A6
Learn about signing commits
|
306a93b
|
||
|
|
gavinandresen + laanwj |
Stricter handling of orphan transactions
Prevent denial-of-service attacks by banning peers that send us invalid orphan transactions and only storing orphan transactions given to us by a peer while the peer is connected. Rebased-From: c74332c |
This commit was signed with a verified signature.
GPG key ID: 74810B012346C9A6
Learn about signing commits
|
6d911ad
|
||
|
|
shshshsh + laanwj |
Make max number of orphan blocks kept in memory a startup parameter (f…
|
af25208
|
|||
|
|
gavinandresen + laanwj |
Store fewer orphan tx by default, add -maxorphantx option
There is no reason to store thousands of orphan transactions; normally an orphan's parents will either be broadcast or mined reasonably quickly. This pull drops the maximum number of orphans from 10,000 down to 100, and adds a command-line option (-maxorphantx) that is just like -maxorphanblocks to override the default. |
ea3c1b0
|
|||
|
|
laanwj |
Update release notes
|
This commit was signed with a verified signature.
GPG key ID: 74810B012346C9A6
Learn about signing commits
|
ce16723
|
Commits on Sep 12, 2014
|
|
laanwj |
Update release notes
|
This commit was signed with a verified signature.
GPG key ID: 74810B012346C9A6
Learn about signing commits
|
cea5e49
|
Commits on Sep 13, 2014
|
|
theuni + laanwj |
build: osx: Fix incomplete framework packaging for codesigning
Starting with 10.9, Framework versions must be signed individually, rather than as a single bundle version, in order to be properly codesigned. This change ensures that the proper plist files and symlinks are present prior to packaging. Rebased-From: 65f3fa8 |
This commit was signed with a verified signature.
GPG key ID: 74810B012346C9A6
Learn about signing commits
|
e3d8d58
|
Commits on Sep 18, 2014
|
|
laanwj |
Remove mention of MacPorts from OSX build docs
Rebased-From: d547ebf |
This commit was signed with a verified signature.
GPG key ID: 74810B012346C9A6
Learn about signing commits
|
213cd59
|
Commits on Sep 22, 2014
|
|
laanwj |
build: change cdrkit location in build-process.md
The cdrkit.org domain expired. Thanks to gdm85 on IRC for reporting this. Rebased-From: 27fc527 |
This commit was signed with a verified signature.
GPG key ID: 74810B012346C9A6
Learn about signing commits
|
40d2041
|
Commits on Sep 25, 2014
|
|
theuni + laanwj |
build: fix release name strings for gitian builds
When building from a distdir as gitian does, checking for the .git dir is not reliable. Instead, ask git if we're in a repo. Rebase this into 0.9.3 branch after final to make sure that 0.9.4 will have correct version strings in rcs. Rebased-From: c65cc8c |
This commit was signed with a verified signature.
GPG key ID: 74810B012346C9A6
Learn about signing commits
|
855fd49
|
Commits on Oct 01, 2014
|
|
theuni + laanwj |
osx: fix signing to make Gatekeeper happy (again)
The approach from 65f3fa8 worked for signing on 10.9.4, but not newer versions. 10.9.5 (and up) want each framework to stand alone. Now in addition to copying the plist's from Qt for each framework, we put them in per-version dirs and only symlink to the latest, rather than using symlinks for any contents. Rebased-From: af0bd5e |
This commit was signed with a verified signature.
GPG key ID: 74810B012346C9A6
Learn about signing commits
|
613247f
|
Commits on Oct 02, 2014
|
|
gavinandresen + laanwj |
Keep symlinks when copying into .app bundle
Code signing failed for me on OSX 10.9.5 because the Versions/Current symbolic links were being replaced with a duplicate copy of the frameworks' code. Releases were bigger than they needed to be, for the same reason. Rebased-From: 965c306 |
ffab1dd
|
|||
|
|
saivann + laanwj |
doc: Add instructions for consistent Mac OS X build names
Rebased-From: 0dcb0a5 |
This commit was signed with a verified signature.
GPG key ID: 74810B012346C9A6
Learn about signing commits
|
2743529
|
Commits on Oct 03, 2014
|
|
theuni |
build: Fix OSX build when using Homebrew and qt5
Qt5 is bottled, so configure won't find it without some help. Use brew to find out its prefix. Also, qt5 added the host_bins variable to pkg-config, use it. |
5b9f78d
|
Commits on Oct 08, 2014
|
|
gavinandresen + laanwj |
Refactor -alertnotify code
Refactor common -alertnotify code into static CAlert::Notify method. |
25b49b5
|
Commits on Nov 24, 2014
|
|
gmaxwell + laanwj |
Make -proxy set all network types, avoiding a connect leak.
Previously -proxy was not setting the proxy for IsLimited networks, so if you set your configuration to be onlynet=tor you wouldn't get an IPv4 proxy set. The payment protocol gets its proxy configuration from the IPv4 proxy, and so it would experience a connection leak. This addresses issue #5355 and also clears up a cosmetic bug where getinfo proxy output shows nothing when onlynet=tor is set. Conflicts: src/init.cpp Rebased-From: 3c77714 Github-Issue: #5358 |
This commit was signed with a verified signature.
GPG key ID: 74810B012346C9A6
Learn about signing commits
|
cd5164a
|
Commits on Dec 09, 2014
|
|
sipa + laanwj |
Limit the number of new addressses to accumulate
Rebased-From: 12a49ca |
This commit was signed with a verified signature.
GPG key ID: 74810B012346C9A6
Learn about signing commits
|
bb424e4
|
||
|
|
gmaxwell + laanwj |
Disable SSLv3 (in favor of TLS) for the RPC client and server.
TLS is subject to downgrade attacks when SSLv3 is available, and SSLv3 has vulnerabilities. The popular solution is to disable SSLv3. On the web this breaks some tiny number of very old clients. While Bitcoin RPC shouldn't be exposed to the open Internet, it also shouldn't be exposed to really old SSL implementations, so it shouldn't be a major issue for us to disable SSLv3. There is more information on the downgrade attacks and disabling SSLv3 at https://disablessl3.com/ . Rebased-From: 683dc40 |
This commit was signed with a verified signature.
GPG key ID: 74810B012346C9A6
Learn about signing commits
|
0a94661
|
Commits on Jan 10, 2015
|
|
theuni + laanwj |
consensus: guard against openssl's new strict DER checks
New versions of OpenSSL will reject non-canonical DER signatures. However, it'll happily decode them. Decode then re-encode before verification in order to ensure that it is properly consumed. Github-Pull: #5634 Rebased-From: 488ed32 |
This commit was signed with a verified signature.
GPG key ID: 74810B012346C9A6
Learn about signing commits
|
b8e81b7
|
||
|
|
laanwj |
gitian: openssl-1.0.1i.tar.gz -> openssl-1.0.1k.tar.gz
|
This commit was signed with a verified signature.
GPG key ID: 74810B012346C9A6
Learn about signing commits
|
f047dfa
|
||
|
|
laanwj |
fail immediately on an empty signature
|
This commit was signed with a verified signature.
GPG key ID: 74810B012346C9A6
Learn about signing commits
|
60c51f1
|
||
|
|
laanwj |
doc: Update release process for openssl bump
|
This commit was signed with a verified signature.
GPG key ID: 74810B012346C9A6
Learn about signing commits
|
65a1dda
|
||
|
|
laanwj |
gitian: bump revision for OSX qt
Not necessary for windows or linux, as the intermedate build result doesn't change. However for OSX on 0.9 the builds for the intermediates are not deterministic, so this cannot be assessed. Bump the dep version just in case. |
This commit was signed with a verified signature.
GPG key ID: 74810B012346C9A6
Learn about signing commits
|
b8ac476
|
Commits on Jan 12, 2015
|
|
laanwj |
Improve robustness of DER recoding code
Add some defensive programming on top of #5634. This copies the respective OpenSSL code in ECDSA_verify in OpenSSL pre-1.0.1k (e.g. https://github.com/openssl/openssl/blob/OpenSSL_1_0_1j/crypto/ecdsa/ecs_vrf.c#L89) more closely. As reported by @sergiodemianlerner. Github-Pull: #5640 Rebased-From: c6b7b29 |
This commit was signed with a verified signature.
GPG key ID: 74810B012346C9A6
Learn about signing commits
|
037bfef
|
||
|
|
laanwj |
qt: Pull updated translations from Transifex
|
This commit was signed with a verified signature.
GPG key ID: 74810B012346C9A6
Learn about signing commits
|
f6b7539
|
||
|
|
laanwj |
doc: Update release notes for 0.9.4
|
This commit was signed with a verified signature.
GPG key ID: 74810B012346C9A6
Learn about signing commits
|
2f32a0b
|
||
|
|
laanwj |
Bump version to 0.9.4
|
This commit was signed with a verified signature.
GPG key ID: 74810B012346C9A6
Learn about signing commits
|
be8ac71
|
||
|
|
laanwj |
doc: Properly format git commits in changelog
|
This commit was signed with a verified signature.
GPG key ID: 74810B012346C9A6
Learn about signing commits
|
41f94ed
|
Commits on Feb 06, 2015
|
|
sipa |
Implement BIP 66 validation rules and switchover logic
|
ab03660
|
|||
|
|
sipa |
Backport of some of BIP66's tests
|
989d499
|
|||
|
|
sipa |
Raise version of created blocks, and enforce DERSIG in mempool
|
3230b32
|
Commits on Feb 10, 2015
|
|
theuni |
build: fix dynamic boost check when --with-boost= is used
(cherry picked from commit a7d1f03) |
8438074
|
|||
|
|
laanwj |
Merge pull request #5780
|
This commit was signed with a verified signature.
GPG key ID: 74810B012346C9A6
Learn about signing commits
|
924d7e5
|
Commits on Feb 13, 2015
|
|
laanwj |
Merge pull request #5762
|
This commit was signed with a verified signature.
GPG key ID: 74810B012346C9A6
Learn about signing commits
|
864338a
|
||
|
|
gmaxwell + laanwj |
Sanitize command strings before logging them.
Normally bitcoin core does not display any network originated strings without sanitizing or hex encoding. This wasn't done for strcommand in many places. This could be used to play havoc with a terminal displaying the logs, especially with printtoconsole in use. Thanks to Evil-Knievel for reporting this issue. Conflicts: src/main.cpp src/net.cpp src/rpcserver.cpp Rebased-From: 28d4cff Github-Pull: #5770 |
6b4163b
|
Commits on Feb 18, 2015
|
|
21E14 + laanwj |
Check pindexBestForkBase for null
|
This commit was signed with a verified signature.
GPG key ID: 74810B012346C9A6
Learn about signing commits
|
74f29c2
|
Commits on Feb 20, 2015
|
|
morcos + gmaxwell |
Fix priority calculation in CreateTransaction
|
9cd1dd9
|
Commits on Feb 26, 2015
|
|
laanwj |
Merge pull request #5807
9cd1dd9 Fix priority calculation in CreateTransaction (Alex Morcos) |
This commit was signed with a verified signature.
GPG key ID: 74810B012346C9A6
Learn about signing commits
|
47fdeb4
|
Commits on May 05, 2015
|
|
laanwj |
Final transifex pull for 0.9
Translations for the 0.9 branch have been closed. Make sure that all the translation work done up to now ends up in the branch. |
eb27e8d
|
Commits on May 18, 2015
|
|
laanwj |
Version bump to 0.9.5
|
This commit was signed with a verified signature.
GPG key ID: 74810B012346C9A6
Learn about signing commits
|
ea07ccb
|
Commits on May 21, 2015
|
|
theuni |
build: fix osx determinism for OSX
Backport of 90c7154 Linux/Windows wrapped 'date' rather than patching the OpenSSL build. |
e328605
|
|||
|
|
laanwj |
Merge pull request #6169
e328605 build: fix osx determinism for OSX (Cory Fields) |
This commit was signed with a verified signature.
GPG key ID: 74810B012346C9A6
Learn about signing commits
|
b880967
|
Commits on Oct 15, 2015
|
|
laanwj |
Disable upnp by default
|
This commit was signed with a verified signature.
GPG key ID: 74810B012346C9A6
Learn about signing commits
|
460ccfb
|
Unified
Split
Showing
with
17,818 additions
and 102,038 deletions.
- +36 −1 README.md
- +31 −13 configure.ac
- +3 −2 contrib/debian/control
- +0 −3 contrib/debian/manpages/bitcoin.conf.5
- +134 −14 contrib/devtools/update-translations.py
- +9 −9 contrib/gitian-descriptors/deps-linux.yml
- +9 −9 contrib/gitian-descriptors/deps-win.yml
- +4 −4 contrib/gitian-descriptors/gitian-linux.yml
- +60 −0 contrib/gitian-descriptors/gitian-osx-bitcoin.yml
- +159 −0 contrib/gitian-descriptors/gitian-osx-depends.yml
- +178 −0 contrib/gitian-descriptors/gitian-osx-native.yml
- +186 −0 contrib/gitian-descriptors/gitian-osx-qt.yml
- +4 −4 contrib/gitian-descriptors/gitian-win.yml
- +1 −0 contrib/gitian-descriptors/qt-linux.yml
- +3 −3 contrib/gitian-descriptors/qt-win.yml
- +28 −4 contrib/macdeploy/macdeployqtplus
- +1 −1 doc/Doxyfile
- +2 −2 doc/README.md
- +75 −0 doc/README_osx.txt
- +2 −2 doc/README_windows.txt
- +26 −50 doc/build-osx.md
- +0 −4 doc/build-unix.md
- +59 −2 doc/release-notes.md
- +77 −73 doc/release-process.md
- +1 −1 share/genbuild.sh
- +21 −16 src/alert.cpp
- +4 −3 src/alert.h
- +182 −0 src/base58.cpp
- +34 −225 src/base58.h
- +2 −0 src/bitcoin-cli.cpp
- +2 −0 src/bitcoind.cpp
- +1 −1 src/chainparams.cpp
- +3 −2 src/checkpoints.cpp
- +3 −3 src/clientversion.h
- +2 −0 src/compat/glibcxx_compat.cpp
- +2 −2 src/core.cpp
- +1 −1 src/core.h
- +36 −10 src/init.cpp
- +6 −6 src/json/json_spirit_reader_template.h
- +16 −16 src/json/json_spirit_value.h
- +39 −3 src/key.cpp
- +3 −0 src/key.h
- +3 −0 src/keystore.cpp
- +6 −5 src/leveldb/Makefile
- +2 −7 src/leveldb/db/filename.cc
- +15 −8 src/leveldb/db/log_reader.cc
- +35 −5 src/leveldb/db/log_test.cc
- +0 −1 src/leveldb/db/repair.cc
- +0 −14 src/leveldb/db/version_set.cc
- +0 −1 src/leveldb/include/leveldb/c.h
- +1 −1 src/leveldb/include/leveldb/db.h
- +1 −1 src/leveldb/include/leveldb/slice.h
- +6 −0 src/m4/ax_boost_base.m4
- +6 −0 src/m4/bitcoin_qt.m4
- +125 −73 src/main.cpp
- +4 −6 src/main.h
- +2 −2 src/miner.cpp
- +1 −0 src/mruset.h
- +31 −40 src/net.cpp
- +17 −5 src/net.h
- +38 −4 src/netbase.cpp
- +2 −0 src/netbase.h
- +1 −0 src/qt/Makefile.am
- +5 −0 src/qt/bitcoin.cpp
- +1 −0 src/qt/bitcoin.qrc
- +5 −12 src/qt/bitcoingui.cpp
- +1 −1 src/qt/bitcoingui.h
- +3 −11 src/qt/clientmodel.cpp
- +1 −4 src/qt/clientmodel.h
- +5 −28 src/qt/forms/rpcconsole.ui
- +32 −1 src/qt/guiutil.cpp
- +4 −0 src/qt/guiutil.h
- +36 −3,289 src/qt/locale/bitcoin_ach.ts
- +331 −2,944 src/qt/locale/bitcoin_af_ZA.ts
- +303 −1,816 src/qt/locale/bitcoin_ar.ts
- +378 −2,625 src/qt/locale/bitcoin_be_BY.ts
- +308 −1,116 src/qt/locale/bitcoin_bg.ts
- +120 −3,313 src/qt/locale/bitcoin_bs.ts
- +829 −804 src/qt/locale/bitcoin_ca.ts
- +853 −829 src/qt/locale/bitcoin_ca@valencia.ts
- +591 −566 src/qt/locale/bitcoin_ca_ES.ts
- +36 −3,289 src/qt/locale/bitcoin_cmn.ts
- +173 −205 src/qt/locale/bitcoin_cs.ts
- +212 −3,041 src/qt/locale/bitcoin_cy.ts
- +445 −437 src/qt/locale/bitcoin_da.ts
- +70 −62 src/qt/locale/bitcoin_de.ts
- +202 −548 src/qt/locale/bitcoin_el_GR.ts
- +45 −493 src/qt/locale/bitcoin_eo.ts
- +52 −45 src/qt/locale/bitcoin_es.ts
- +254 −1,929 src/qt/locale/bitcoin_es_CL.ts
- +54 −350 src/qt/locale/bitcoin_es_DO.ts
- +399 −2,564 src/qt/locale/bitcoin_es_MX.ts
- +209 −3,070 src/qt/locale/bitcoin_es_UY.ts
- +136 −1,228 src/qt/locale/bitcoin_et.ts
- +289 −2,902 src/qt/locale/bitcoin_eu_ES.ts
- +51 −1,288 src/qt/locale/bitcoin_fa.ts
- +400 −2,587 src/qt/locale/bitcoin_fa_IR.ts
- +47 −39 src/qt/locale/bitcoin_fi.ts
- +219 −215 src/qt/locale/bitcoin_fr.ts
- +115 −3,251 src/qt/locale/bitcoin_fr_CA.ts
- +39 −667 src/qt/locale/bitcoin_gl.ts
- +36 −3,289 src/qt/locale/bitcoin_gu_IN.ts
- +152 −312 src/qt/locale/bitcoin_he.ts
- +356 −2,753 src/qt/locale/bitcoin_hi_IN.ts
- +285 −1,930 src/qt/locale/bitcoin_hr.ts
- +177 −991 src/qt/locale/bitcoin_hu.ts
- +89 −436 src/qt/locale/bitcoin_id_ID.ts
- +153 −144 src/qt/locale/bitcoin_it.ts
- +249 −405 src/qt/locale/bitcoin_ja.ts
- +42 −222 src/qt/locale/bitcoin_ka.ts
- +236 −3,137 src/qt/locale/bitcoin_kk_KZ.ts
- +244 −408 src/qt/locale/bitcoin_ko_KR.ts
- +212 −3,217 src/qt/locale/bitcoin_ky.ts
- +58 −1,326 src/qt/locale/bitcoin_la.ts
- +91 −1,491 src/qt/locale/bitcoin_lt.ts
- +176 −821 src/qt/locale/bitcoin_lv_LV.ts
- +1,146 −0 src/qt/locale/bitcoin_mn.ts
- +120 −3,281 src/qt/locale/bitcoin_ms_MY.ts
- +51 −43 src/qt/locale/bitcoin_nb.ts
- +56 −48 src/qt/locale/bitcoin_nl.ts
- +56 −1,570 src/qt/locale/bitcoin_pam.ts
- +112 −204 src/qt/locale/bitcoin_pl.ts
- +56 −56 src/qt/locale/bitcoin_pt_BR.ts
- +59 −158 src/qt/locale/bitcoin_pt_PT.ts
- +578 −602 src/qt/locale/bitcoin_ro_RO.ts
- +56 −52 src/qt/locale/bitcoin_ru.ts
- +36 −3,285 src/qt/locale/bitcoin_sah.ts
- +311 −298 src/qt/locale/bitcoin_sk.ts
- +102 −1,059 src/qt/locale/bitcoin_sl_SI.ts
- +306 −2,883 src/qt/locale/bitcoin_sq.ts
- +316 −2,749 src/qt/locale/bitcoin_sr.ts
- +47 −43 src/qt/locale/bitcoin_sv.ts
- +180 −3,129 src/qt/locale/bitcoin_th_TH.ts
- +65 −57 src/qt/locale/bitcoin_tr.ts
- +432 −414 src/qt/locale/bitcoin_uk.ts
- +185 −3,198 src/qt/locale/bitcoin_ur_PK.ts
- +580 −1,939 src/qt/locale/bitcoin_uz@Cyrl.ts
- +125 −3,278 src/qt/locale/bitcoin_vi.ts
- +311 −2,932 src/qt/locale/bitcoin_vi_VN.ts
- +75 −67 src/qt/locale/bitcoin_zh_CN.ts
- +36 −3,289 src/qt/locale/bitcoin_zh_HK.ts
- +39 −31 src/qt/locale/bitcoin_zh_TW.ts
- +2 −0 src/qt/macdockiconhandler.mm
- +1 −1 src/qt/paymentserver.cpp
- +3 −5 src/qt/rpcconsole.cpp
- +1 −1 src/qt/rpcconsole.h
- +10 −8 src/rpcblockchain.cpp
- +27 −27 src/rpcclient.cpp
- +3 −3 src/rpcmining.cpp
- +11 −6 src/rpcmisc.cpp
- +9 −9 src/rpcnet.cpp
- +2 −10 src/rpcprotocol.cpp
- +7 −7 src/rpcrawtransaction.cpp
- +34 −16 src/rpcserver.cpp
- +15 −16 src/rpcwallet.cpp
- +105 −28 src/script.cpp
- +156 −43 src/script.h
- +37 −2 src/serialize.h
- +14 −5 src/test/DoS_tests.cpp
- +1 −0 src/test/Makefile.am
- +2 −2 src/test/base58_tests.cpp
- +43 −0 src/test/data/script_invalid.json
- +65 −0 src/test/data/script_valid.json
- +12 −2 src/test/script_tests.cpp
- +196 −0 src/test/scriptnum_tests.cpp
- +7 −9 src/test/util_tests.cpp
- +28 −20 src/util.cpp
- +2 −21 src/util.h
- +24 −4 src/wallet.cpp
- +14 −14 src/wallet.h
- +1 −1 src/walletdb.cpp
View
37
README.md
| @@ -3,7 +3,7 @@ Bitcoin Core integration/staging tree | ||
| http://www.bitcoin.org | ||
| -Copyright (c) 2009-2014 Bitcoin Core Developers | ||
| +Copyright (c) 2009-2015 Bitcoin Core Developers | ||
| What is Bitcoin? | ||
| ---------------- | ||
| @@ -81,3 +81,38 @@ Periodically the translations are pulled from Transifex and merged into the git | ||
| **Important**: We do not accept translation changes as github pull request because the next | ||
| pull from Transifex would automatically overwrite them again. | ||
| + | ||
| +Development tips and tricks | ||
| +--------------------------- | ||
| + | ||
| +**compiling for debugging** | ||
| + | ||
| +Run configure with the --enable-debug option, then make. Or run configure with | ||
| +CXXFLAGS="-g -ggdb -O0" or whatever debug flags you need. | ||
| + | ||
| +**debug.log** | ||
| + | ||
| +If the code is behaving strangely, take a look in the debug.log file in the data directory; | ||
| +error and debugging message are written there. | ||
| + | ||
| +The -debug=... command-line option controls debugging; running with just -debug will turn | ||
| +on all categories (and give you a very large debug.log file). | ||
| + | ||
| +The Qt code routes qDebug() output to debug.log under category "qt": run with -debug=qt | ||
| +to see it. | ||
| + | ||
| +**testnet and regtest modes** | ||
| + | ||
| +Run with the -testnet option to run with "play bitcoins" on the test network, if you | ||
| +are testing multi-machine code that needs to operate across the internet. | ||
| + | ||
| +If you are testing something that can run on one machine, run with the -regtest option. | ||
| +In regression test mode blocks can be created on-demand; see qa/rpc-tests/ for tests | ||
| +that run in -regest mode. | ||
| + | ||
| +**DEBUG_LOCKORDER** | ||
| + | ||
| +Bitcoin Core is a multithreaded application, and deadlocks or other multithreading bugs | ||
| +can be very difficult to track down. Compiling with -DDEBUG_LOCKORDER (configure | ||
| +CXXFLAGS="-DDEBUG_LOCKORDER -g") inserts run-time checks to keep track of what locks | ||
| +are held, and adds warning to the debug.log file if inconsistencies are detected. | ||
View
44
configure.ac
| @@ -2,10 +2,10 @@ dnl require autoconf 2.60 (AS_ECHO/AS_ECHO_N) | ||
| AC_PREREQ([2.60]) | ||
| define(_CLIENT_VERSION_MAJOR, 0) | ||
| define(_CLIENT_VERSION_MINOR, 9) | ||
| -define(_CLIENT_VERSION_REVISION, 99) | ||
| +define(_CLIENT_VERSION_REVISION, 5) | ||
| define(_CLIENT_VERSION_BUILD, 0) | ||
| -define(_CLIENT_VERSION_IS_RELEASE, false) | ||
| -define(_COPYRIGHT_YEAR, 2014) | ||
| +define(_CLIENT_VERSION_IS_RELEASE, true) | ||
| +define(_COPYRIGHT_YEAR, 2015) | ||
| AC_INIT([Bitcoin Core],[_CLIENT_VERSION_MAJOR._CLIENT_VERSION_MINOR._CLIENT_VERSION_REVISION],[info@bitcoin.org],[bitcoin]) | ||
| AC_CONFIG_AUX_DIR([src/build-aux]) | ||
| AC_CONFIG_MACRO_DIR([src/m4]) | ||
| @@ -232,12 +232,25 @@ case $host in | ||
| AC_CHECK_PROG([BREW],brew, brew) | ||
| if test x$BREW = xbrew; then | ||
| - dnl add default homebrew paths | ||
| - openssl_prefix=`$BREW --prefix openssl` | ||
| - bdb_prefix=`$BREW --prefix berkeley-db4` | ||
| - export PKG_CONFIG_PATH="$openssl_prefix/lib/pkgconfig:$PKG_CONFIG_PATH" | ||
| - CPPFLAGS="$CPPFLAGS -I$bdb_prefix/include" | ||
| - LIBS="$LIBS -L$bdb_prefix/lib" | ||
| + dnl These Homebrew packages may be bottled, meaning that they won't be found | ||
| + dnl in expected paths because they may conflict with system files. Ask | ||
| + dnl Homebrew where each one is located, then adjust paths accordingly. | ||
| + dnl It's safe to add these paths even if the functionality is disabled by | ||
| + dnl the user (--without-wallet or --without-gui for example). | ||
| + | ||
| + openssl_prefix=`$BREW --prefix openssl 2>/dev/null` | ||
| + bdb_prefix=`$BREW --prefix berkeley-db4 2>/dev/null` | ||
| + qt5_prefix=`$BREW --prefix qt5 2>/dev/null` | ||
| + if test x$openssl_prefix != x; then | ||
| + export PKG_CONFIG_PATH="$openssl_prefix/lib/pkgconfig:$PKG_CONFIG_PATH" | ||
| + fi | ||
| + if test x$bdb_prefix != x; then | ||
| + CPPFLAGS="$CPPFLAGS -I$bdb_prefix/include" | ||
| + LIBS="$LIBS -L$bdb_prefix/lib" | ||
| + fi | ||
| + if test x$qt5_prefix != x; then | ||
| + export PKG_CONFIG_PATH="$qt5_prefix/lib/pkgconfig:$PKG_CONFIG_PATH" | ||
| + fi | ||
| fi | ||
| else | ||
| case $build_os in | ||
| @@ -303,6 +316,8 @@ INCLUDES="$INCLUDES $PTHREAD_CFLAGS" | ||
| # they also need to be passed down to any subprojects. Pull the results out of | ||
| # the cache and add them to CPPFLAGS. | ||
| AC_SYS_LARGEFILE | ||
| +# detect POSIX or GNU variant of strerror_r | ||
| +AC_FUNC_STRERROR_R | ||
| if test x$ac_cv_sys_file_offset_bits != x && | ||
| test x$ac_cv_sys_file_offset_bits != xno && | ||
| @@ -323,7 +338,10 @@ if test x$use_glibc_compat != xno; then | ||
| #__fdelt_chk's params and return type have changed from long unsigned int to long int. | ||
| # See which one is present here. | ||
| AC_MSG_CHECKING(__fdelt_chk type) | ||
| - AC_TRY_COMPILE([#define __USE_FORTIFY_LEVEL 2 | ||
| + AC_TRY_COMPILE([#ifdef _FORTIFY_SOURCE | ||
| + #undef _FORTIFY_SOURCE | ||
| + #endif | ||
| + #define _FORTIFY_SOURCE 2 | ||
| #include <sys/select.h> | ||
| extern "C" long unsigned int __fdelt_warn(long unsigned int);],[], | ||
| [ fdelt_type="long unsigned int"], | ||
| @@ -418,7 +436,7 @@ if test x$use_tests = xyes; then | ||
| dnl Determine if -DBOOST_TEST_DYN_LINK is needed | ||
| AC_MSG_CHECKING([for dynamic linked boost test]) | ||
| TEMP_LIBS="$LIBS" | ||
| - LIBS="$LIBS $BOOST_UNIT_TEST_FRAMEWORK_LIB" | ||
| + LIBS="$LIBS $BOOST_LDFLAGS $BOOST_UNIT_TEST_FRAMEWORK_LIB" | ||
| TEMP_CPPFLAGS="$CPPFLAGS" | ||
| CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS" | ||
| AC_LINK_IFELSE([AC_LANG_SOURCE([ | ||
| @@ -491,7 +509,7 @@ CPPFLAGS="$TEMP_CPPFLAGS" | ||
| fi | ||
| if test x$boost_sleep != xyes; then | ||
| - AC_MSG_ERROR(No working boost sleep implementation found. If on ubuntu 13.10 with libboost1.54-all-dev remove libboost.1.54-all-dev and use libboost1.53-all-dev) | ||
| + AC_MSG_ERROR(No working boost sleep implementation found.) | ||
| fi | ||
| AC_ARG_WITH([cli], | ||
| @@ -601,7 +619,7 @@ else | ||
| AC_MSG_RESULT($use_upnp_default) | ||
| AC_DEFINE_UNQUOTED([USE_UPNP],[$upnp_setting],[UPnP support not compiled if undefined, otherwise value (0 or 1) determines default state]) | ||
| if test x$TARGET_OS = xwindows; then | ||
| - CPPFLAGS="$CPPFLAGS -DSTATICLIB" | ||
| + CPPFLAGS="$CPPFLAGS -DMINIUPNP_STATICLIB" | ||
| fi | ||
| else | ||
| AC_MSG_RESULT(no) | ||
View
5
contrib/debian/control
| @@ -38,8 +38,9 @@ Description: peer-to-peer network based digital currency - daemon | ||
| Full transaction history is stored locally at each client. This | ||
| requires 20+ GB of space, slowly growing. | ||
| . | ||
| - This package provides bitcoind, a combined daemon and CLI tool to | ||
| - interact with the daemon. | ||
| + | ||
| + This package provides the daemon, bitcoind, and the CLI tool | ||
| + bitcoin-cli to interact with the daemon. | ||
| Package: bitcoin-qt | ||
| Architecture: any | ||
View
3
contrib/debian/manpages/bitcoin.conf.5
| @@ -37,9 +37,6 @@ You must set *rpcuser* to secure the JSON-RPC api. | ||
| \fBrpcpassword=\fR\fI'password'\fR | ||
| You must set *rpcpassword* to secure the JSON-RPC api. | ||
| .TP | ||
| -\fBrpctimeout=\fR\fI'30'\fR | ||
| -How many seconds *bitcoin* will wait for a complete RPC HTTP request, after the HTTP connection is established. | ||
| -.TP | ||
| \fBrpcallowip=\fR\fI'192.168.1.*'\fR | ||
| By default, only RPC connections from localhost are allowed. Specify as many *rpcallowip=* settings as you like to allow connections from other hosts (and you may use * as a wildcard character). | ||
| .TP | ||
View
148
contrib/devtools/update-translations.py
| @@ -14,13 +14,14 @@ | ||
| TODO: | ||
| - auto-add new translations to the build system according to the translation process | ||
| -- remove 'unfinished' translation items | ||
| ''' | ||
| from __future__ import division, print_function | ||
| import subprocess | ||
| import re | ||
| import sys | ||
| import os | ||
| +import io | ||
| +import xml.etree.ElementTree as ET | ||
| # Name of transifex tool | ||
| TX = 'tx' | ||
| @@ -40,24 +41,143 @@ def fetch_all_translations(): | ||
| print('Error while fetching translations', file=sys.stderr) | ||
| exit(1) | ||
| -def postprocess_translations(): | ||
| - print('Postprocessing...') | ||
| +def find_format_specifiers(s): | ||
| + '''Find all format specifiers in a string.''' | ||
| + pos = 0 | ||
| + specifiers = [] | ||
| + while True: | ||
| + percent = s.find('%', pos) | ||
| + if percent < 0: | ||
| + break | ||
| + specifiers.append(s[percent+1]) | ||
| + pos = percent+2 | ||
| + return specifiers | ||
| + | ||
| +def split_format_specifiers(specifiers): | ||
| + '''Split format specifiers between numeric (Qt) and others (strprintf)''' | ||
| + numeric = [] | ||
| + other = [] | ||
| + for s in specifiers: | ||
| + if s in {'1','2','3','4','5','6','7','8','9'}: | ||
| + numeric.append(s) | ||
| + else: | ||
| + other.append(s) | ||
| + | ||
| + # numeric (Qt) can be present in any order, others (strprintf) must be in specified order | ||
| + return set(numeric),other | ||
| + | ||
| +def sanitize_string(s): | ||
| + '''Sanitize string for printing''' | ||
| + return s.replace('\n',' ') | ||
| + | ||
| +def check_format_specifiers(source, translation, errors): | ||
| + source_f = split_format_specifiers(find_format_specifiers(source)) | ||
| + # assert that no source messages contain both Qt and strprintf format specifiers | ||
| + # if this fails, go change the source as this is hacky and confusing! | ||
| + assert(not(source_f[0] and source_f[1])) | ||
| + try: | ||
| + translation_f = split_format_specifiers(find_format_specifiers(translation)) | ||
| + except IndexError: | ||
| + errors.append("Parse error in translation '%s'" % sanitize_string(translation)) | ||
| + return False | ||
| + else: | ||
| + if source_f != translation_f: | ||
| + errors.append("Mismatch between '%s' and '%s'" % (sanitize_string(source), sanitize_string(translation))) | ||
| + return False | ||
| + return True | ||
| + | ||
| +def all_ts_files(suffix=''): | ||
| for filename in os.listdir(LOCALE_DIR): | ||
| # process only language files, and do not process source language | ||
| - if not filename.endswith('.ts') or filename == SOURCE_LANG: | ||
| + if not filename.endswith('.ts'+suffix) or filename == SOURCE_LANG+suffix: | ||
| continue | ||
| + if suffix: # remove provided suffix | ||
| + filename = filename[0:-len(suffix)] | ||
| filepath = os.path.join(LOCALE_DIR, filename) | ||
| - with open(filepath, 'rb') as f: | ||
| + yield(filename, filepath) | ||
| + | ||
| +FIX_RE = re.compile(b'[\x00-\x09\x0b\x0c\x0e-\x1f]') | ||
| +def remove_invalid_characters(s): | ||
| + '''Remove invalid characters from translation string''' | ||
| + return FIX_RE.sub(b'', s) | ||
| + | ||
| +# Override cdata escape function to make our output match Qt's (optional, just for cleaner diffs for | ||
| +# comparison, disable by default) | ||
| +_orig_escape_cdata = None | ||
| +def escape_cdata(text): | ||
| + text = _orig_escape_cdata(text) | ||
| + text = text.replace("'", ''') | ||
| + text = text.replace('"', '"') | ||
| + return text | ||
| + | ||
| +def postprocess_translations(reduce_diff_hacks=False): | ||
| + print('Checking and postprocessing...') | ||
| + | ||
| + if reduce_diff_hacks: | ||
| + global _orig_escape_cdata | ||
| + _orig_escape_cdata = ET._escape_cdata | ||
| + ET._escape_cdata = escape_cdata | ||
| + | ||
| + for (filename,filepath) in all_ts_files(): | ||
| + os.rename(filepath, filepath+'.orig') | ||
| + | ||
| + have_errors = False | ||
| + for (filename,filepath) in all_ts_files('.orig'): | ||
| + # pre-fixups to cope with transifex output | ||
| + parser = ET.XMLParser(encoding='utf-8') # need to override encoding because 'utf8' is not understood only 'utf-8' | ||
| + with open(filepath + '.orig', 'rb') as f: | ||
| data = f.read() | ||
| - # remove non-allowed control characters | ||
| - data = re.sub('[\x00-\x09\x0b\x0c\x0e-\x1f]', '', data) | ||
| - data = data.split('\n') | ||
| - # strip locations from non-origin translation | ||
| - # location tags are used to guide translators, they are not necessary for compilation | ||
| - # TODO: actually process XML instead of relying on Transifex's one-tag-per-line output format | ||
| - data = [line for line in data if not '<location' in line] | ||
| - with open(filepath, 'wb') as f: | ||
| - f.write('\n'.join(data)) | ||
| + # remove control characters; this must be done over the entire file otherwise the XML parser will fail | ||
| + data = remove_invalid_characters(data) | ||
| + tree = ET.parse(io.BytesIO(data), parser=parser) | ||
| + | ||
| + # iterate over all messages in file | ||
| + root = tree.getroot() | ||
| + for context in root.findall('context'): | ||
| + for message in context.findall('message'): | ||
| + numerus = message.get('numerus') == 'yes' | ||
| + source = message.find('source').text | ||
| + translation_node = message.find('translation') | ||
| + # pick all numerusforms | ||
| + if numerus: | ||
| + translations = [i.text for i in translation_node.findall('numerusform')] | ||
| + else: | ||
| + translations = [translation_node.text] | ||
| + | ||
| + for translation in translations: | ||
| + if translation is None: | ||
| + continue | ||
| + errors = [] | ||
| + valid = check_format_specifiers(source, translation, errors) | ||
| + | ||
| + for error in errors: | ||
| + print('%s: %s' % (filename, error)) | ||
| + | ||
| + if not valid: # set type to unfinished and clear string if invalid | ||
| + translation_node.clear() | ||
| + translation_node.set('type', 'unfinished') | ||
| + have_errors = True | ||
| + | ||
| + # Remove location tags | ||
| + for location in message.findall('location'): | ||
| + message.remove(location) | ||
| + | ||
| + # Remove entire message if it is an unfinished translation | ||
| + if translation_node.get('type') == 'unfinished': | ||
| + context.remove(message) | ||
| + | ||
| + # write fixed-up tree | ||
| + # if diff reduction requested, replace some XML to 'sanitize' to qt formatting | ||
| + if reduce_diff_hacks: | ||
| + out = io.BytesIO() | ||
| + tree.write(out, encoding='utf-8') | ||
| + out = out.getvalue() | ||
| + out = out.replace(b' />', b'/>') | ||
| + with open(filepath, 'wb') as f: | ||
| + f.write(out) | ||
| + else: | ||
| + tree.write(filepath, encoding='utf-8') | ||
| + return have_errors | ||
| if __name__ == '__main__': | ||
| check_at_repository_root() | ||
View
18
contrib/gitian-descriptors/deps-linux.yml
| @@ -16,8 +16,8 @@ packages: | ||
| reference_datetime: "2013-06-01 00:00:00" | ||
| remotes: [] | ||
| files: | ||
| -- "openssl-1.0.1g.tar.gz" | ||
| -- "miniupnpc-1.9.tar.gz" | ||
| +- "openssl-1.0.1k.tar.gz" | ||
| +- "miniupnpc-1.9.20140701.tar.gz" | ||
| - "qrencode-3.4.3.tar.bz2" | ||
| - "protobuf-2.5.0.tar.bz2" | ||
| - "db-4.8.30.NC.tar.gz" | ||
| @@ -30,24 +30,24 @@ script: | | ||
| export TZ=UTC | ||
| export LIBRARY_PATH="$STAGING/lib" | ||
| # Integrity Check | ||
| - echo "53cb818c3b90e507a8348f4f5eaedb05d8bfe5358aabb508b7263cc670c3e028 openssl-1.0.1g.tar.gz" | sha256sum -c | ||
| - echo "2923e453e880bb949e3d4da9f83dd3cb6f08946d35de0b864d0339cf70934464 miniupnpc-1.9.tar.gz" | sha256sum -c | ||
| + echo "8f9faeaebad088e772f4ef5e38252d472be4d878c6b3a2718c10a4fcebe7a41c openssl-1.0.1k.tar.gz" | sha256sum -c | ||
| + echo "26f3985bad7768b8483b793448ae49414cdc4451d0ec83e7c1944367e15f9f07 miniupnpc-1.9.20140701.tar.gz" | sha256sum -c | ||
| echo "dfd71487513c871bad485806bfd1fdb304dedc84d2b01a8fb8e0940b50597a98 qrencode-3.4.3.tar.bz2" | sha256sum -c | ||
| echo "13bfc5ae543cf3aa180ac2485c0bc89495e3ae711fc6fab4f8ffe90dfb4bb677 protobuf-2.5.0.tar.bz2" | sha256sum -c | ||
| echo "12edc0df75bf9abd7f82f821795bcee50f42cb2e5f76a6a281b85732798364ef db-4.8.30.NC.tar.gz" | sha256sum -c | ||
| # | ||
| - tar xzf openssl-1.0.1g.tar.gz | ||
| - cd openssl-1.0.1g | ||
| + tar xzf openssl-1.0.1k.tar.gz | ||
| + cd openssl-1.0.1k | ||
| # need -fPIC to avoid relocation error in 64 bit builds | ||
| ./config no-shared no-zlib no-dso no-krb5 --openssldir=$STAGING -fPIC | ||
| # need to build OpenSSL with faketime because a timestamp is embedded into cversion.o | ||
| make | ||
| make install_sw | ||
| cd .. | ||
| # | ||
| - tar xzfm miniupnpc-1.9.tar.gz | ||
| - cd miniupnpc-1.9 | ||
| + tar xzfm miniupnpc-1.9.20140701.tar.gz | ||
| + cd miniupnpc-1.9.20140701 | ||
| # miniupnpc is always built with -fPIC | ||
| INSTALLPREFIX=$STAGING make $MAKEOPTS install | ||
| rm -f $STAGING/lib/libminiupnpc.so* # no way to skip shared lib build | ||
| @@ -95,4 +95,4 @@ script: | | ||
| done | ||
| # | ||
| cd $STAGING | ||
| - find include lib bin host | sort | zip -X@ $OUTDIR/bitcoin-deps-linux${GBUILD_BITS}-gitian-r5.zip | ||
| + find include lib bin host | sort | zip -X@ $OUTDIR/bitcoin-deps-linux${GBUILD_BITS}-gitian-r9.zip | ||
Oops, something went wrong.
Showing you all comments on commits in this comparison.
Azulan
commented on 6862c8b
Aug 24, 2014
|
Redirects to https://bitcoin.org/en/. |
|
Is this related to heartbleed? |
|
no |
|
Why not copy the functions from the previous version of openssl rather than continue to rely on something that can change? |