Wladimir J. van der Laan
ad49c256c3
Split up util.cpp/h
...
Split up util.cpp/h into:
- string utilities (hex, base32, base64): no internal dependencies, no dependency on boost (apart from foreach)
- money utilities (parsesmoney, formatmoney)
- time utilities (gettime*, sleep, format date):
- and the rest (logging, argument parsing, config file parsing)
The latter is basically the environment and OS handling,
and is stripped of all utility functions, so we may want to
rename it to something else than util.cpp/h for clarity (Matt suggested
osinterface).
Breaks dependency of sha256.cpp on all the things pulled in by util.
10 years ago
Wladimir J. van der Laan
f841aa2892
Move `COIN` and `CENT` to core.h
...
Eventually these should end up in `money.h` after monetary
amounts are typedef'ed, but at least they don't belong in `util.h`.
10 years ago
Wladimir J. van der Laan
6e5fd003e0
Move `*Version()` functions to version.h/cpp
10 years ago
Wladimir J. van der Laan
b4aa769bcb
Move `S_I*` constants and `MSG_NOSIGNAL` to compat.h
10 years ago
Wladimir J. van der Laan
af8297c010
Move functions in wallet.h to implementation file
...
Breaks compile-time dependency of wallet.h on util.
10 years ago
Wladimir J. van der Laan
651480c8e4
move functions in main and net to implementation files
10 years ago
Wladimir J. van der Laan
610a8c0759
Move SetThreadPriority implementation to util.cpp instead of the header
...
Put the THREAD_* and PRIO_ constants in compat.h.
10 years ago
Wladimir J. van der Laan
f780e65ac6
Remove unused function `ByteReverse` from util.h
10 years ago
Wladimir J. van der Laan
121d6ad9db
Remove unused `alignup` function from util.h
10 years ago
Wladimir J. van der Laan
d1e26d4e71
Move CMedianFilter to timedata.cpp
...
Now that we no longer use the median filter to keep track of
the number of blocks of peers, that's the only place it is used.
10 years ago
Daniel Kraft
d0867acb0e
Use const CCoinsView's at some places.
...
At some places where it is possible (e. g., CheckInputs), use a const
version of CCoinsView instead of a non-const one.
10 years ago
Daniel Kraft
a3dc587a62
Make appropriate getter-routines "const" in CCoinsView.
...
Mark the "Get"/"Have" routines in CCoinsView and subclasses as "const".
10 years ago
Daniel Kraft
ffb4c210bc
Mark LevelDB "Read" and "Exists" functions as const.
...
Mark the "Read" and "Exists" functions in CLevelDBWrapper as "const".
They do not change anything in the DB, by definition.
10 years ago
Wladimir J. van der Laan
0d763fc9e1
Merge pull request #4749
...
425c7a8
travis: add doc (Cory Fields)
9380d01
travis: initial descriptor (Cory Fields)
386efb7
build: work around ccache/autotools warning-spamming bug (Cory Fields)
10 years ago
Pieter Wuille
92bb6f2f17
Bypass reloading blocks from disk
10 years ago
Cory Fields
425c7a8389
travis: add doc
10 years ago
Cory Fields
9380d019a1
travis: initial descriptor
10 years ago
Wladimir J. van der Laan
49f954f154
Merge pull request #4716
...
0d27dad
Clean-up SyncWithWallets/SyncTransaction (Cozz Lovan)
10 years ago
Wladimir J. van der Laan
26f3a05cf1
Merge pull request #4654
...
c4a7709
Fixes ignored qt 4.8 codecs path on windows when configuring with --with-qt-libdir (ntrgn)
10 years ago
Wladimir J. van der Laan
11270ebde4
Merge pull request #4351
...
da2ec10
Add a getutxos command to the p2p protocol. It allows querying of the UTXO set given a set of outpoints. (Mike Hearn)
10 years ago
Peter Todd
aa41ac216e
Test IsPushOnly() with invalid push
10 years ago
Pieter Wuille
41abb02122
Merge pull request #4683
...
fff7455
Make CScript::clear() release its memory (Pieter Wuille)
b0875eb
Allow BatchWrite to destroy its input, reducing copying (Pieter Wuille)
10 years ago
Jeff Garzik
8f5a423344
contrib/linearize: split block files based on year-month, not just year
10 years ago
Jeff Garzik
75400a2a41
contrib/linearize: Guarantee that output is generated in-order
...
This was typically ensured implicitly by virtue of normal bitcoind
operation. Adding an explicit check provides a stronger guarantee, and
it is cheap to add.
10 years ago
Jeff Garzik
087eb43cff
Merge pull request #4757
10 years ago
Jeff Garzik
b4a72a75b4
contrib/linearize: split output files based on new-timestamp-year or max-file-size
10 years ago
Jeff Garzik
476eb7eb53
Update linearize scripts.
...
Break into two steps:
* Generate hash list
* Build data file(s) from local bitcoind blocks/ directory.
This supports building one large bootstrap.dat, or multiple
smaller blocks/blkNNNNN.dat files.
10 years ago
Pieter Wuille
fff7455ded
Make CScript::clear() release its memory
10 years ago
Pieter Wuille
b0875eb3fe
Allow BatchWrite to destroy its input, reducing copying
10 years ago
Pieter Wuille
5cd00bc8cb
Merge pull request #4618
...
eb0b56b
Simplify serialize.h's exception handling (Pieter Wuille)
10 years ago
Cory Fields
65f3fa8d11
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.
10 years ago
Jeff Garzik
57fe1eaadc
Merge pull request #4632
10 years ago
jtimon
654871d436
replace ComputeMinWork with CheckMinWork
10 years ago
jtimon
b343c1a1e3
Move CBlockIndex::GetBlockWork() to pow::GetProofIncrement(nBits)
10 years ago
jtimon
c2c02f3fa9
Move UpdateTime to pow
10 years ago
Wladimir J. van der Laan
92b3d3630d
Merge pull request #4718
...
88fe88c
gui: remove redundant numTransactions tracking (Wladimir J. van der Laan)
10 years ago
Wladimir J. van der Laan
0a670bf5d7
Merge pull request #4753
...
df920c6
Build-osx: Force Fix. (Dominyk Tiller)
5a61553
Build-osx: Force Fix. (Dominyk Tiller)
10 years ago
Dominyk Tiller
df920c6d49
Build-osx: Force Fix.
...
Kills the "make" line as well.
10 years ago
Dominyk Tiller
5a61553a14
Build-osx: Force Fix.
...
Removes the unnecessary directions that encourage people to force install openssl into /usr/local with Homebrew. Unnecessary, and potentially quite risky. @theuni okayed this removal [here](https://github.com/bitcoin/bitcoin/pull/4740#issuecomment-53076840 ).
10 years ago
Cory Fields
c897b1e732
depends: add a fallback path in case package sources go missing
...
If a source url fails to download, try again at
$FALLBACK_DOWNLOAD_PATH/file.name, where FALLBACK_DOWNLOAD_PATH can be
overridden by the user.
10 years ago
Jeff Garzik
fac54dcb71
Merge pull request #4733
10 years ago
Wladimir J. van der Laan
0b00bd3792
Merge pull request #4736
...
5d9f22b
Remove link to now removed Windows Build Notes (Michael Ford)
10 years ago
Cory Fields
386efb7695
build: work around ccache/autotools warning-spamming bug
...
When using clang and ccache, builds spew lots of:
Clang: warning: argument unused during compilation
Upstream bug: https://bugzilla.samba.org/show_bug.cgi?id=8118
This is harmless, bug annoying. If ccache is being used and the
-Qunused-arguments flag is supported (clang), use it.
11 years ago
Wladimir J. van der Laan
752f2b36c8
Merge pull request #4740
...
b1ed7c2
Update build-osx.md (Rose Toomey)
11 years ago
Wladimir J. van der Laan
93ed3d9b4e
Merge pull request #4735
...
3802224
Remove all other print() methods (Wladimir J. van der Laan)
9b6d4c5
Move strprintf define to tinyformat.h (Wladimir J. van der Laan)
8121258
Remove print() from core functions (Wladimir J. van der Laan)
11 years ago
Wladimir J. van der Laan
56953925db
Merge pull request #4706
...
8695a39
replace int with size_t in stream methods (Kamil Domanski)
11 years ago
Wladimir J. van der Laan
2fb886bffb
Merge pull request #4731
...
c53b1ec
Fix github-merge with git version 2.1.0 (Gavin Andresen)
11 years ago
Wladimir J. van der Laan
27bc786641
Merge pull request #4739
...
de1f051
Added protobuf-compiler library to the Qt 5 Dependencies (elichai)
11 years ago
Jeff Garzik
9c31174992
Merge pull request #4744
11 years ago
Jeff Garzik
f368af3d5d
Merge pull request #4730
11 years ago