Pavel Vasin
de236f57c6
clarify obscure uses of EvalScript()
...
The 3rd argument of EvalScript() is the unsigned int flags, not a bool.
10 years ago
Pieter Wuille
1c52aad540
Require sufficent priority for relay of free transactions
10 years ago
Cory Fields
8db1760751
rpcserver: attempt to fix uncaught exception.
10 years ago
Jonas Schnelli
59582c8b8d
[REST] add /rest/chaininfos
10 years ago
Luke Dashjr
dd3f69736a
Use real text rather than image-rendered text for unit selector
...
The width of each unit is measured to set a fixed width for the widget, and the color is set to match the other status widgets.
10 years ago
Thomas Zander
99913f0f70
Fix reference.
...
The text talked about "Quit" while Bitcoin uses "Exit" in its menu.
10 years ago
Luke Dashjr
9b7d3fb165
Adopt style colour for button icons
10 years ago
jtimon
87fb31086d
Move UndoWriteToDisk() and UndoReadFromDisk() to anon namespace
10 years ago
jtimon
937ba572d0
MOVEONLY: CBlockUndo from main.h to undo.h
10 years ago
jtimon
e035c6a737
Decouple CBlockUndo from CDiskBlockPos
10 years ago
jtimon
d7621ccf9d
Decouple miner.o and txmempool.o from CTxUndo
10 years ago
jtimon
c444c620c6
Decouple CCoins from CTxInUndo
10 years ago
Jonas Schnelli
de779b307b
[Qt] new icon for the debug window
10 years ago
Gregory Maxwell
a094b3d973
Remove bitnodes.io from dnsseeds.
...
I'm not comfortable with retaining this entry.
10 years ago
Gregory Maxwell
8024d67dae
Add immature balances to getwalletinfo.
10 years ago
azeteki
d44c545673
Add unconfirmedbalance field to getwalletinfo
10 years ago
Peter Todd
d78f0dafd5
Fix CScriptID(const CScript& in) in empty script case
...
Previously an empty script wouldn't be hashed, and CScriptID would be
assigned the incorrect value of 0 instead. This bug can be seen in the
RPC decodescript command:
$ btc decodescript ""
{
"asm" : "",
"type" : "nonstandard",
"p2sh" : "31h1vYVSYuKP6AhS86fbRdMw9XHieotbST"
}
Correct output:
$ btc decodescript ""
{
"asm" : "",
"type" : "nonstandard",
"p2sh" : "3J98t1WpEZ73CNmQviecrnyiWrnqRhWNLy"
}
10 years ago
Eric R. Schulz
2c14d1532f
bitcoin-tx: Add test case for signing a tx
10 years ago
Luke Dashjr
a15dba5dff
en: Avoid ambiguous language regarding when transactions confirm
10 years ago
Everett Forth
7c5dd60306
Adding RPC tests for the following wallet related calls: getbalance,
...
listsinceblock, listtransactions, listlockunspent, listaccounts
listaddressgroupings
10 years ago
Adam Weiss
c90770430d
DOS: Respect max per-peer blocks in flight limit
...
Don't allow immediate inv driven block downloads if
a peer already has MAX_BLOCKS_IN_TRANSIT_PER_PEER
active downloads. Prevents bogus inv spam from
blowing up block transfer tracking data structures.
10 years ago
Eric R. Schulz
a089c50981
bitcoin-tx: Refer to the JSON fields rather than the whole object
10 years ago
Eric R. Schulz
2a3d988b80
bitcoin-tx: Fix JSON validation of prevtxs
10 years ago
Pieter Wuille
3497022347
Reject headers that build on an invalid parent
10 years ago
Jameson Lopp
4bc95c4387
remove max orphan blocks config parameter since it is no longer functional
10 years ago
Matt Corallo
ff09e31a51
sleep-wait on genesis block during init with -reindex
10 years ago
Pavel Janík
bdb6a71d3d
IsNull doesn't change CBlockLocator, add const hint
10 years ago
Pavel Janík
1b37333a7f
Remove no longer needed declaration of CBlockLocator
10 years ago
Cory Fields
be43492945
build: fix 'make distcheck'
...
Rather than treating the .py as a regular built test, run it from check-local
so that we can better control the paths used.
10 years ago
Gregory Maxwell
aa279d6131
Enforce minRelayTxFee on wallet created tx and add a maxtxfee option.
...
Previously the minRelayTxFee was only enforced on user specified values.
It was possible for smartfee to produce a fee below minRelayTxFee which
would just result in the transaction getting stuck because it can't be
relayed.
This also introduces a maxtxfee option which sets an absolute maximum
for any fee created by the wallet, with an intention of increasing
user confidence that the automatic fees won't burn them. This was
frequently a concern even before smartfees.
If the configured fee policy won't even allow the wallet to meet the relay
fee the transaction creation may be aborted.
10 years ago
sandakersmann
f914f1a746
Added "Core" to copyright headers
...
Github-Pull: #5494
Rebased-From: 15de949bb9277e442302bdd8dee299a8d6deee60
10 years ago
Philip Kaufmann
84857e87e4
add missing CAutoFile::IsNull() check in main
...
Rebased-From: ccd056a30db0ba5e04b858a682907b378e464d34
Github-Pull: #5437
10 years ago
Wladimir J. van der Laan
6e718f9435
Remove outdated comment about NTP
...
The comment has been around since 0.1, but NTP inside the client
isn't deemed necessary so remove the comment to avoid confusion.
10 years ago
21E14
146c0a7c5a
Add RandAddSeedPerfmon to MakeNewKey
10 years ago
Pavel Janík
469d564951
Build winshutdownmonitor.cpp on Windows only.
10 years ago
Luke Dashjr
7f71813919
Bugfix: prioritisetransaction: Do some basic sanity checking on txid
...
Besides giving a nicer error, this also prevents logging arbitrary data (which could have been used to exploit log readers) into debug.log
10 years ago
Philip Kaufmann
27df4123c4
make all catch() arguments const
...
- I saw this on http://en.cppreference.com/w/cpp/language/try_catch and
thought it would be a good idea
- also unify used format to better be able to search for exception
uses in our codebase
10 years ago
Daniel Kraft
7c8e4c5cfb
Make pass-by-ref arguments const.
...
Make some of the arguments in rest.cpp, that are passed by
reference but never modified, const to emphasise that.
10 years ago
Jonas Schnelli
ff63801bc0
[Qt] light blue icon color for regtest
...
Changing the icons color for regtest in now lightweight.
10 years ago
Jonas Schnelli
270f42d39f
[Qt] fix a <Qt4.7 compatibility issue raised in #5228
10 years ago
Pavel Janík
bf7835c271
Fix small typos in comments and error messages
...
Rebased-From: 67b2d819cdf6181e7f016e5366ce7479830893bd
Github-Pull: #5404
10 years ago
Jonas Schnelli
ac23394ea8
resize tray icon because a 1024x1024 icon won't show in ubuntu (bug)
10 years ago
Wladimir J. van der Laan
8e76ca0429
Qt: Go back to using QIcon functionality for scaling
10 years ago
Jonas Schnelli
54f2571a00
Qt: HiDPI (retina) support for splash screen
...
- remove splash screen images (reduce binary size)
- dynamicly draw splash screen with available icon.
- remove testnet icon
- dynamicly colorize testnet icon
10 years ago
Michael Ford
78253fcbad
Remove references to X11 licence
10 years ago
Manuel Araoz
87e8e1ca8b
minor fix on script test data docs
10 years ago
Gregory Maxwell
6484930690
Apply AreSane() checks to the fees from the network.
...
'Sane' was already defined by this code as:
fee.GetFeePerK() > minRelayFee.GetFeePerK() * 10000
But sanity was only enforced for data loaded from disk.
Note that this is a pretty expansive definition of 'sane': A 10 BTC
fee is still passes the test if its on a 100kb transaction.
This prevents a single insane fee on the network from making us reject
our stored fee data at start. We still may reject valid saved fee
state if minRelayFee is changed between executions.
This also reduces the risk and limits the damage from a cascading
failure where one party pays a bunch of insane fees which cases
others to pay insane fees.
10 years ago
Pavel Janík
73caf47dfe
Display time offset in the debug window's Peers tab
10 years ago
Pavel Janík
26a6bae753
Add time offset to getpeerinfo output
10 years ago
Pieter Wuille
f676c80f43
Add /rest/headers
10 years ago