Cory Fields
00522cd45b
depends: disable reduced exports for debug builds
...
Some debug options may not be compatible.
10 years ago
Cory Fields
1f7fff2bee
depends: add docs for debug
10 years ago
Cory Fields
dc66ff53b4
depends: make LDFLAGS act like the other flags
10 years ago
Cory Fields
b1efba8298
depends: give miniupnpc cppflags
10 years ago
Cory Fields
1d154db457
depends: teach qt to honor debug/release
...
This means it also needs to honor our flags, so patch them in as necessary.
10 years ago
Cory Fields
3b63df5fac
depends: boost: build for debug or release as requested
...
Also hook up cppflags there, which was missing before.
10 years ago
Cory Fields
7e99df78c4
depends: make sure openssl sees cppflags
10 years ago
Cory Fields
f397304002
depends: add debug/release flags for linux/osx/win
...
Linux and mingw enable libstdc++ debugging for extra runtime checks. OSX
doesn't play nice, so don't enable it there.
10 years ago
Cory Fields
2027ad30e7
depends: add the debug/release concept to depends
10 years ago
Wladimir J. van der Laan
4b2b78b9f2
Merge pull request #4969
...
cda45b5
Reinitializing list's begin iterator after few elements were erased from the head (ENikS)
10 years ago
Wladimir J. van der Laan
f66f986a25
Merge pull request #4823
...
1e73504
Fixing C4146 warning (ENikS)
10 years ago
ENikS
1e73504865
Fixing C4146 warning
...
Rebased-By: Wladimir J. van der Laan <laanwj@gmail.com>
10 years ago
Philip Kaufmann
20a11ffabf
minor variable init changes in init.cpp
...
- explicit init of pcoinsdbview and pwalletMain (even if not needed, as
globals are init to NULL, it seems cleaner)
- remove check if (pwalletMain) in Shutdown() as delete is valid even if
pwalletMain is NULL
10 years ago
Wladimir J. van der Laan
d14d7deff0
SanitizeString: allow '(' and ')'
...
'(' and ')' are valid in user agent strings, so should be reported
as such in RPC `getpeerinfo`.
Fixes #4537 .
10 years ago
Wladimir J. van der Laan
b50e5fe099
Merge pull request #4968
...
219372f
script: Fix reference into empty vector run time exception (ENikS)
10 years ago
ENikS
219372f1dd
script: Fix reference into empty vector run time exception
...
Edit by laanwj: `begin_ptr(sourcedata) + sourcedata.size()` -> `end_ptr(sourcedata)`
10 years ago
Wladimir J. van der Laan
375cb4c253
Merge pull request #4959
...
bb26e2c
[Qt] minor changes in splashscreen.cpp (Philip Kaufmann)
10 years ago
Wladimir J. van der Laan
8152f4efd8
Merge pull request #4967
...
459a2d2
Avoiding referencing elements of an empty vector (ENikS)
10 years ago
Wladimir J. van der Laan
82e370b4b0
Merge pull request #4782
...
2e5361b
remove code below asserts in limitedmap.h (fixes a ToDo) (Philip Kaufmann)
10 years ago
Janusz Lenar
346d5443f1
Fixed the broken `brew` shell command
10 years ago
Wladimir J. van der Laan
35e5b5329a
Merge pull request #4946
...
c65cc8c
build: fix release name strings for gitian builds (Cory Fields)
10 years ago
Wladimir J. van der Laan
29a9d4483e
Merge pull request #4966
...
c8063b5
Fixing out of bounds asses error (ENikS)
10 years ago
Wladimir J. van der Laan
58d4b23284
Merge pull request #4914
...
ff36cbe
RPC getnetworkinfo: export local node's client sub-version string (Jeff Garzik)
10 years ago
Jeff Garzik
ff36cbe8d0
RPC getnetworkinfo: export local node's client sub-version string
10 years ago
Wladimir J. van der Laan
c4998661e4
Merge pull request #4958
...
e6beedc
[Qt] add more NULL pointer checks in bitcoingui (Philip Kaufmann)
10 years ago
Philip Kaufmann
e6beedc496
[Qt] add more NULL pointer checks in bitcoingui
...
- add missing checks for clientModel and optionsModel
- small cleanups for an #ifdef on Mac
- remove an unneeded else
10 years ago
Pieter Wuille
cf42c36e99
Apply clang-format on crypto/* and compat/*
10 years ago
Pieter Wuille
ea69592a2f
Merge pull request #4974
...
b498a94
Fixed typo in README.md file. "-regest" "-regtest" (Eric Shaw)
10 years ago
Eric Shaw
b498a9493c
Fixed typo in README.md file. "-regest" "-regtest"
...
There was a typo in the README.md file. It previously read "-regest" instead of the proper "-regtest" and it has been updated to the proper reading.
10 years ago
Pieter Wuille
584a358997
Do merkle root and txid duplicates check simultaneously
...
Move the txid duplicates check into BuildMerkleTree, where it can be done
much more efficiently (without needing to build a full txid set to detect
duplicates).
The previous version (using the std::set<uint256> to detect duplicates) was
also slightly too weak. A block mined with actual duplicate transactions
(which is invalid, due to the inputs of the duplicated transactions being
seen as double spends) would trigger the duplicates logic, resulting in the
block not being stored on disk, and rerequested. This change fixes that by
only triggering in the case of duplicated transactions that can actually
result in an identical merkle root.
10 years ago
Pieter Wuille
7c70438dc6
Get rid of the dummy CCoinsViewCache constructor arg
10 years ago
ENikS
cda45b5131
Reinitializing list's begin iterator after few elements were erased from the head
10 years ago
Pieter Wuille
ed27e53c9b
Add coins_tests with a large randomized CCoinViewCache test.
10 years ago
Pieter Wuille
058b08c147
Do not keep fully spent but unwritten CCoins entries cached.
...
Instead of storing CCoins entries directly in CCoinsMap, store a CCoinsCacheEntry
which additionally keeps track of whether a particular entry is:
* dirty: potentially different from its parent view.
* fresh: the parent view is known to not have a non-pruned version.
This allows us to skip non-dirty cache entries when pushing batches of changes up,
and to remove CCoins entries about transactions that are fully spent before the
parent cache learns about them.
10 years ago
Pieter Wuille
c9d1a81ce7
Get rid of CCoinsView's SetCoins and SetBestBlock.
...
All direct modifications are now done through ModifyCoins, and BatchWrite is
used for pushing batches of queued modifications up, so we don't need the
low-level SetCoins and SetBestBlock anymore in the top-level CCoinsView class.
10 years ago
Pieter Wuille
f28aec014e
Use ModifyCoins instead of mutable GetCoins.
...
Replace the mutable non-copying GetCoins method with a ModifyCoins, which
returns an encapsulated iterator, so we can keep track of concurrent
modifications (as iterators can be invalidated by those) and run cleanup
code after a modification is finished.
This also removes the overloading of the 'GetCoins' name.
10 years ago
Pieter Wuille
7a04f3d708
Merge pull request #4955
...
87314c1
Fixing improper input syntax and failing bounds check (ENikS)
10 years ago
ENikS
459a2d25e0
Avoiding referencing elements of an empty vector
10 years ago
ENikS
c8063b5712
Fixing out of bounds asses error
10 years ago
Wladimir J. van der Laan
35ee2dac67
Merge pull request #4949
...
c8589bf
Add actual signature tests (Pieter Wuille)
76ec867
Use actually valid transactions for script tests (Pieter Wuille)
10 years ago
Wladimir J. van der Laan
bfe527ea86
Merge pull request #4962
...
6f3ae9b
Fixing out of bounds error in GetKey() (ENikS)
10 years ago
ENikS
6f3ae9b5df
Fixing out of bounds error in GetKey()
10 years ago
Alexander Jeng
2027450d42
Grammar fixes in README
...
Github-Pull: #4956
10 years ago
Philip Kaufmann
bb26e2c896
[Qt] minor changes in splashscreen.cpp
...
- guard an unused variable with Q_UNUSED() macro
- remove a commented out line of code
10 years ago
Pieter Wuille
c8589bf99e
Add actual signature tests
10 years ago
Pieter Wuille
76ec867796
Use actually valid transactions for script tests
10 years ago
Wladimir J. van der Laan
cb9871194a
Merge pull request #4765
...
e2a98d2
Update obsolete AC macros. (randy-waterhouse)
e543811
Add warnings for autogen.sh. Fix AC_CONFIG_SRCDIR. (randy-waterhouse)
10 years ago
Wladimir J. van der Laan
27fc5277f7
build: change cdrkit location in build-process.md
...
The cdrkit.org domain expired.
Thanks to gdm85 on IRC for reporting this.
10 years ago
Wladimir J. van der Laan
3cdae61aa2
Merge pull request #4787
...
4b0deb3
Clean up CMerkleTx::SetMerkleBranch. (Daniel Kraft)
10 years ago
Wladimir J. van der Laan
565da68ed0
Merge pull request #4852
...
5e83bc4
[Qt] include and file header cleanup (Philip Kaufmann)
10 years ago