Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
|
|
|
|
git-subtree-dir: src/secp256k1
git-subtree-split: ad2028f9890ca40bdd32055aa0fe5c1c9af0e485
|
|
1) const-ify internal helper ParseHashStr()
2) use HTTPError() helper when returning HTTP_NOT_FOUND
|
|
|
|
5d60b69 Coin Control: Make list mode default (Luke Dashjr)
4ff81d6 Bugfix: Clarify coin control dialog labels (Luke Dashjr)
|
|
219a147 script: check ScriptError values in script tests (Cory Fields)
ab9edbd script: create sane error return codes for script validation and remove logging (Cory Fields)
|
|
c63a73d Update comments in util to be doxygen compatible (Michael Ford)
|
|
5617267 Fix typo in listreceivedbyaddress and listaccounts help text (Michael Ford)
|
|
7329fdd Update comments in txmempool to be doxygen compatible (Michael Ford)
|
|
1837987 Optimize -regtest setgenerate block generation (Gavin Andresen)
Signed-off-by: Gavin Andresen <gavinandresen@gmail.com>
|
|
|
|
Fix typo in Read() error message
|
|
|
|
|
|
|
|
|
|
|
|
Attempt to codify the possible error statuses associated with script
validation. script/types.h has been created with the expectation that it will
be part of the public lib interface. The other flag enums will be moved here in
a future commit.
Logging has also been removed in order to drop the dependency on core.h. It can
be re-added to bitcoind as-needed. This makes script verification finally free
of application state and boost!
|
|
Speed up generating blocks in regression test mode, by moving
block-creating and nonce-finding directly into the setgenerate
RPC call (instead of starting up a mining thread and waiting for
it to find a block).
This makes the forknotify RPC test three times quicker, for
example (10 seconds runtime instead of 30 seconds, assuming
the initial blockchain cache is already built).
|
|
1c0aa91 Update serialize comments to be doxygen compatible (Michael Ford)
|
|
b9a36b1 Make comments in /src/script doxygen compatible (Michael Ford)
|
|
0d91ae3 The first thing that SelectParams does is call SelectBaseParams. Therefore, we do not need to call SelectBaseParams immediately prior to calling SelectParams. (mruddy)
|
|
f4e0aef Do signature-s negation inside the tests (Pieter Wuille)
|
|
845c86d Do not use third party services for IP detection. (Gregory Maxwell)
|
|
|
|
-disablewallet
|
|
a8a5e01 Adding license. (sinetek)
|
|
65e3a1e Make sure that GetRandomBytes never fails (Wladimir J. van der Laan)
|
|
To avoid the need for libsecp256k1 to expose such functionality.
|
|
38c62ae Adding const. (sinetek)
|
|
|
|
|
|
|
|
1f84793 Avoid a bunch of copying/conversion in script/sign (Pieter Wuille)
|
|
This is a simplified re-do of closed pull #3088.
This patch eliminates the privacy and reliability problematic use
of centralized web services for discovering the node's addresses
for advertisement.
The Bitcoin protocol already allows your peers to tell you what
IP they think you have, but this data isn't trustworthy since
they could lie. So the challenge is using it without creating a
DOS vector.
To accomplish this we adopt an approach similar to the one used
by P2Pool: If we're announcing and don't have a better address
discovered (e.g. via UPNP) or configured we just announce to
each peer the address that peer told us. Since peers could
already replace, forge, or drop our address messages this cannot
create a new vulnerability... but if even one of our peers is
giving us a good address we'll eventually make a useful
advertisement.
We also may randomly use the peer-provided address for the
daily rebroadcast even if we otherwise have a seemingly routable
address, just in case we've been misconfigured (e.g. by UPNP).
To avoid privacy problems, we only do these things if discovery
is enabled.
|
|
We're using GetRandomBytes in several contexts where it's either
unwieldy to return an error, or an error would mean a fatal exception
anyhow.
@gmaxwell checked OpenSSL a while ago and discovered that it never
actually fails, but it can't hurt to be a bit paranoid here.
|
|
seen using 'struct'
|
|
|
|
93a6022 Reduce bitcoin-cli dependencies (Pieter Wuille)
|
|
This is less surprising.
Avoids the overload-the-CPU default of using N threads for script
verification as well as N threads for generation where N is number of cores.
|
|
Helps for troubleshooting.
|
|
|
|
93a3f0e Qt: Network-Traffic-Graph: make some distance between line and text (Jonas Schnelli)
|
|
236d96e Qt: Add support for missing scrollbar in peers table (Jonas Schnelli)
|
|
|
|
Text directly glued on the graph-line looks not so good.
|