Luke Dashjr
15ef1b905b
Bugfix: bitcoin-tx: scriptPubKey may be null, so accept outscript=<n>:
10 years ago
jtimon
6dcfda2dc4
Don't pass nHashType to EvalScript nor CheckSig
10 years ago
jtimon
2b23a87599
Don't pass nHashType to VerifyScript
10 years ago
jtimon
ce3649fb61
Remove CScriptCheck::nHashType (was always 0)
10 years ago
jtimon
358562b651
Remove unused function main:VerifySignature
10 years ago
Wladimir J. van der Laan
e5fc6631b9
Merge pull request #4896
...
07d5287
Catch error when done reading files (Suhas Daftuar)
10 years ago
Pieter Wuille
b9307d2f55
Merge pull request #4876
...
6022b5d
Make script_{valid,invalid}.json validation flags configurable (Pieter Wuille)
10 years ago
Gavin Andresen
6a830ec947
Merge pull request #4758 from theuni/osx-dmg-codesign-rebase
...
build: osx: Fix incomplete framework packaging for codesigning
10 years ago
Pieter Wuille
efad808aae
Avoid reject message feedback loops
10 years ago
Suhas Daftuar
07d5287f42
Catch error when done reading files
10 years ago
Wladimir J. van der Laan
3fa1c81b94
Merge pull request #4885
...
aa3c697
Store fewer orphan tx by default, add -maxorphantx option (Gavin Andresen)
c74332c
Stricter handling of orphan transactions (Gavin Andresen)
10 years ago
Wladimir J. van der Laan
8040e938c5
Merge pull request #4892
...
e982b57
Use explicit fflush() instead of setvbuf() (Adam Weiss)
10 years ago
Gavin Andresen
aa3c697e90
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.
10 years ago
Gavin Andresen
c74332c678
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.
10 years ago
Suhas Daftuar
ec7eb0fa80
When reindexing check for file before trying to open (refactored)
10 years ago
Adam Weiss
e982b574a5
Use explicit fflush() instead of setvbuf()
...
Flushing after every line when printing to console is desirable when
running with systemd but setvbuf() has slightly different semantics
on Windows that causes warnings. Just do an explicit fflush() after
each line print to console instead.
10 years ago
Gavin Andresen
def2fdb4b9
Fix crashing bug caused by orphan(s) with duplicate prevout.hash
10 years ago
Wladimir J. van der Laan
d6af9856b0
Merge pull request #4878
...
540ac45
Avoid returning many "inv" orphans (Jeff Garzik)
d4168c8
Limit CNode::mapAskFor (Wladimir J. van der Laan)
10 years ago
Wladimir J. van der Laan
f23869e14b
Merge pull request #4623
...
e84843c
Broken addresses on command line no longer trigger testnet. (Ross Nicoll)
10 years ago
Wladimir J. van der Laan
fd1caa0961
Merge pull request #4755
...
c1e433b
Rename scriptutils.o to wallet_ismine.o (jtimon)
8b59a3d
Move CAffectedKeysVisitor to wallet.cpp (remove ExtractAffectedKeys) (jtimon)
0d2fa14
Move scriptutils.o to wallet (jtimon)
10 years ago
jtimon
c1e433b717
Rename scriptutils.o to wallet_ismine.o
10 years ago
jtimon
8b59a3d366
Move CAffectedKeysVisitor to wallet.cpp (remove ExtractAffectedKeys)
10 years ago
jtimon
0d2fa14a34
Move scriptutils.o to wallet
10 years ago
Wladimir J. van der Laan
6050ab6855
netbase: Make SOCKS5 negotiation interruptible
...
Avoids that SOCKS5 negotiation will hold up the shutdown process.
- Sockets can stay in non-blocking mode, no need to switch it on/off
anymore
- Adds a timeout (20 seconds) on SOCK5 negotiation. This should be
enough for even Tor to get a connection to a hidden service, and
avoids blocking the opencon thread indefinitely on a hanging proxy.
Fixes #2954 .
10 years ago
Wladimir J. van der Laan
6a8d15cc16
Merge pull request #4874
...
21f139b
qt: fix tablet crash. closes #4854 . (Cory Fields)
10 years ago
Wladimir J. van der Laan
4e8cc3cb86
Merge pull request #4867
...
a95b119
qt: Remove thousands separators after decimal point (Wladimir J. van der Laan)
10 years ago
Pieter Wuille
f7cdcb80ab
Merge pull request #4822
...
629d75f
Combine CCoinsViewCache's HaveCoins and const GetCoins into AccessCoins. (Pieter Wuille)
10 years ago
Pieter Wuille
4ebd80298d
Merge pull request #4882
...
faadbe1
remove unneeded cast in rpcmisc.cpp (Philip Kaufmann)
10 years ago
Adam Weiss
234bfbf6a5
Add init scripts and docs for Upstart and OpenRC
10 years ago
Philip Kaufmann
faadbe1733
remove unneeded cast in rpcmisc.cpp
10 years ago
Pieter Wuille
1575c5171f
Merge pull request #4868
...
2c2cc5d
Remove some unnecessary c_strs() in logging and the GUI (Philip Kaufmann)
f7d0a86
netbase: Use .data() instead of .c_str() on binary string (Wladimir J. van der Laan)
10 years ago
Philip Kaufmann
2c2cc5dac1
Remove some unnecessary c_strs() in logging and the GUI
...
Includes `core: remove unneeded c_str() / Qt: replace c_str() with Qt code`
by P. Kaufmann.
10 years ago
Jeff Garzik
540ac4514d
Avoid returning many "inv" orphans
10 years ago
Wladimir J. van der Laan
d4168c82be
Limit CNode::mapAskFor
...
Tighten resource constraints on CNode.
10 years ago
Wladimir J. van der Laan
8bc0a0173e
Merge pull request #4873
...
89d91f6
Avoid repeated lookups in mapOrphanTransactions and mapOrphanTransactionsByPrev (Wladimir J. van der Laan)
10 years ago
Pieter Wuille
6022b5dc6b
Make script_{valid,invalid}.json validation flags configurable
10 years ago
jtimon
e8b5f0d549
Move CBlockIndex, CChain and related code out of main
10 years ago
jtimon
6db83db3eb
Decouple CChain from mapBlockIndex
10 years ago
Cory Fields
21f139b4a6
qt: fix tablet crash. closes #4854 .
...
This backports the relevant parts of:
https://codereview.qt-project.org/#/c/82689/
10 years ago
Pieter Wuille
eecd3c0fb0
Merge pull request #4754
...
e088d65
Separate script/sign (jtimon)
9294a4b
Separate CScriptCompressor (jtimon)
c4408a6
Separate script/standard (jtimon)
da03e6e
Separate script/interpreter (jtimon)
cbd22a5
Move CScript class and dependencies to script/script (jtimon)
86dbeea
Rename script.h/.cpp to scriptutils.h/.cpp (plus remove duplicated includes) (jtimon)
Rebased-by: Pieter Wuille
10 years ago
jtimon
e088d65acb
Separate script/sign
10 years ago
jtimon
9294a4bbe7
Separate CScriptCompressor
10 years ago
jtimon
c4408a6c85
Separate script/standard
10 years ago
jtimon
da03e6ed7c
Separate script/interpreter
10 years ago
jtimon
cbd22a50c4
Move CScript class and dependencies to script/script
10 years ago
jtimon
86dbeea2cd
Rename script.h/.cpp to scriptutils.h/.cpp (plus remove duplicated includes)
10 years ago
Wladimir J. van der Laan
89d91f6aa7
Avoid repeated lookups in mapOrphanTransactions and mapOrphanTransactionsByPrev
10 years ago
Alex Morcos
c26649f9ed
Track modified size in TxMemPoolEntry so that we can correctly compute priority.
10 years ago
Pieter Wuille
df623d83da
Merge pull request #4865
...
8e44f2e
Clarify 'compressed nor uncompressed' error message (Peter Todd)
10 years ago
Wladimir J. van der Laan
f7d0a86bf6
netbase: Use .data() instead of .c_str() on binary string
...
`.c_str()` is only guaranteed to return the data up to the first NUL
character.
10 years ago