Warren Togami
8809504863
Merge pull request #89 from pooler/more_logging
...
Add some additional logging to give extra network insight.
11 years ago
Cozz Lovan
e9e6262c0e
Coin Control improvements October 25th, 2013
...
* code nits
* introduced GUIUtil::setClipboard
* calling getBalance(coinControl) now in walletmodel.cpp
* replaced "WARNING" with "Warning"
* added notr="true" to ui non translatable strings
11 years ago
Warren Togami
72b4e39c09
Litecoin: Adjust Coin Control for 0.8.5 for Litecoin
...
Display the correct fee including the per output sub-CENT dust penalty.
11 years ago
Cozz Lovan
9bec9feb87
Coin Control Features for Bitcoin 0.8.5
...
* fix transaction timezone display bug in output selection
* excluding Bitcoin 0.9 changes for #3008 and #2945
* merged src/wallet.cpp for nMinimumInputValue (mininput)
11 years ago
Mike Hearn
ab48dd1d17
Add some additional logging to give extra network insight.
11 years ago
Wladimir J. van der Laan
99f3d18b62
qt: GUI support for -disablewallet mode
...
Rebased-from: 8121047b20f6486bf049e642c3e6ca61682ffdd9
11 years ago
Warren Togami
cdd76fa878
Litecoin: getworkex: CreateNewBlock() scriptPubKey argument instead of key
11 years ago
Jeff Garzik
4e111e0a8f
Add -disablewallet option, to disable wallet support (and BDB)
...
Conflicts:
src/init.cpp
Rebased-from: 5d4f3a1f0cbdf52257b41ea09d175c0018ad9434
11 years ago
Jeff Garzik
ebabf7571f
init.cpp: cosmetic indent changes, preparing for no-wallet
...
Rebased-from: 520cc05b89aae5fed155482d5fa66b4290487d55
Conflicts:
src/init.cpp
11 years ago
Jeff Garzik
a7909372bd
RPC validateaddress: test pwalletMain for NULL (no-wallet mode)
...
Conflicts:
src/rpcwallet.cpp
Rebased-from: b878f6a92436e3facd700e2e10c04f541cd6421b
11 years ago
Jeff Garzik
a288878a00
Support absence of wallet (pwalletMain==NULL) in several locations,
...
notably RPC.
Conflicts:
src/init.cpp
src/rpcmining.cpp
src/rpcwallet.cpp
src/bitcoinrpc.cpp
Rebased-from: 541a7fcd515a27ebaa3ae5f1a9a698dab3db6ead
11 years ago
Jeff Garzik
fbf54fb6da
miner: constify CreateNewBlock() arg scriptPubKeyIn
...
Conflicts:
src/miner.cpp
src/miner.h
Rebased-from: ad7d7cde5d30bcbfa7803c90daac7297b8a55e42
11 years ago
Jeff Garzik
6333bf9629
RPC: getblocktemplate does not require a key, to create a block template
...
getblocktemplate only uses certain portions of the coinbase transaction,
notably ignoring the coinbase TX output entirely.
Use CreateNewBlock() rather than CreateNewBlockWithKey(), eliminating
the needless key passing.
Should be zero behavior changes.
11 years ago
Jeff Garzik
b3060a26d0
CreateNewBlock() now takes scriptPubKey argument,
...
rather than a key.
CreateNewBlockWithKey() helper is added to restore existing functionality,
making this an equivalent-transformation change.
Conflicts:
src/miner.cpp
src/miner.h
Rebased-from: fcc32b7b9ce5bc310cbad677da7e7bca3a01459a
11 years ago
Jeff Garzik
02aa46394d
RPC: add 'verifychain', to verify chain database at runtime
11 years ago
Jeff Garzik
0e65e7bd07
Minor miner fixes (hey hey it's fun to say)
...
* Fix UpdateCoins() definition in main.h
* Remove pwalletMain reference from BitcoinMiner(), as it is passed
a wallet argument.
Conflicts:
src/main.h
Rebased-from: 18946846d5
11 years ago
Jeff Garzik
e2bc2dff95
Pass check level, check depth to VerifyDB()
11 years ago
Wladimir J. van der Laan
5edaa52176
Move pMiningKey init out of StartRPCThreads
...
This commit decouples the pMiningKey initialization and shutdown from the RPC
threads.
`getwork` and `getblocktemplate` rely on pMiningKey, and can also be ran
from the debug window in the UI even when the RPC server is not running.
Solves issue #2706 .
Conflicts:
src/rpcmining.cpp
11 years ago
Jeff Garzik
8687a0ebbc
RPC: add getbestblockhash, to return tip of best chain
11 years ago
Warren Togami
892b16f07a
Litecoin: s/BitcoinMiner/LitecoinMiner/ and detect scrypt implementation
11 years ago
Warren Togami
d4c56161ae
Revert "Litecoin: Remove native coin generation."
...
This reverts commit 94bf538131
.
Conflicts:
src/init.cpp
11 years ago
Warren Togami
ea24796726
Merge pull request #86 from wtogami/clangfix
...
Remove redundant insert method in serialize.
11 years ago
Warren Togami
0801244768
Upgrade to Bitcoin LevelDB 1.13
...
Merge commit '2a6cdcf6e57922fec0219b5966df85c8417d6ba3' into master-0.8
11 years ago
Warren Togami
2a6cdcf6e5
Squashed 'src/leveldb/' changes from be1b0ff..be91006
...
936b461 Merge upstream LevelDB 1.13.
748539c LevelDB 1.13
git-subtree-dir: src/leveldb
git-subtree-split: be9100673b05cec1662a54d0b7a59e4317fdda86
11 years ago
Pieter Wuille
3efed50982
Remove redundant insert method in serialize.
...
This seems to cause problems on recent clang, and looks totally
redundant and unused.
The const_iterator version is identical to the vector::const_iterator
one (which is a typedef thereof). Marking it private (instead of
removing) compiles fine, so this version is effectively unused even.
11 years ago
Warren Togami
d05e36e2ef
Merge pull request #84 from pooler/logtimestamp_def
...
make -logtimestamps default on and rework help-message
11 years ago
Warren Togami
b64e8648be
Merge pull request #85 from pooler/processgetdata
...
Reduce latency in network processing
11 years ago
Patrick Strateman
9229434811
process received messages one at a time without sleeping between messages
11 years ago
Philip Kaufmann
e56355b980
make -logtimestamps default on and rework help-message
11 years ago
Warren Togami
1d63195f3f
Litecoin: mingw32 -mstackrealign to prevent SSE2 misalignment crashes
11 years ago
Luke Dashjr
2b22cea3a1
RPC: getblock(): Accept 2nd "verbose" parameter, similar to getrawtransaction, but defaulting to 1 for backward compatibility
11 years ago
Warren Togami
40805d0918
Disconnect nodes older than protocol version 70002 (Litecoin 0.8.3.7)
...
Split MIN_PROTO_VERSION into INIT_PROTO_VERSION and MIN_PEER_PROTO_VERSION
11 years ago
Warren Togami
4423dcabd2
Litecoin: Restore USE_BUILD_INFO=1 in gitian-win32.yml
11 years ago
Warren Togami
803ed8f5e0
Litecoin: SSE2 scrypt unit test coverage
11 years ago
Warren Togami
0fef3d3fdd
Litecoin: Upgrade gitian win32 to Precise 12.04 and boost-1.54
...
mingw upgrade allows more hardening, compiler bug fixes and possibily win64 later.
Rename deps .zip files to be more consistent in revision format.
Litecoin: Reuse bitcoin-0.9 win32 deps.
11 years ago
Warren Togami
cd8eeccc2d
Litecoin: Runtime detection of SSE2 32bit x86 for Scrypt
...
* x86_64 and Intel MacOS X always uses scrypt-sse2, non-x86 uses scrypt-generic.
* x86 (not Mac) detects cpuid features and chooses sse2 or generic during runtime.
How to Build with SSE2 Support
==============================
* make litecoind with USE_SSE2=1
* qmake with USE_SSE2=1
11 years ago
pooler
4b82dceb7b
Litecoin: Add a simplified SSE2 version of scrypt
...
pooler: Ported from tarsnap upstream, fixed aliasing issue
cfields: break apart sse2/non-sse2 into separate objects
11 years ago
Peter Todd
3689088c6d
Enable NODE_BLOOM by default
...
Also change behavior to simply disconnect peers, rather than DoS-ban
them.
11 years ago
Ashley Holman
4e0f31f9a0
Don't store or send blocks forked before last checkpoint.
11 years ago
Philip Kaufmann
3cb290066e
special case DoS value == 0 in ProcessMessage()
...
- prevents unneeded log messages, which could make users think something
bad was happening
Squashed: style-police code cleanup
11 years ago
phelixbtc
25c4b8732c
Porting MinGW multithreading bugfix to makefile.mingw
...
Original fix:
https://github.com/bitcoin/bitcoin/commit
/8864019f6d88b13d3442843d9e6ebeb8dd938831
11 years ago
David Hill
7f1782105f
Hurricane Electric uses block 2001:470::, not 2011:470::
11 years ago
Philip Kaufmann
ffd7439799
exclude CreatePidFile() function on WIN32 as it is unused
11 years ago
Philip Kaufmann
513ec560d4
log start and end of Shutdown()
...
- could be helpful when debugging shutdown related problems
Rebased-by: Warren Togami <wtogami@gmail.com>
Rebased-from: ced3c24816
11 years ago
Charlie Lee
3100416cb1
Fix compiler warning for getnetworkhashps.
11 years ago
Gregory Maxwell
0e81091263
More fixes for blockchain corruption on OSX.
...
As we'd previously learned, OSX's fsync is a data eating lie.
Since 0.8.4 we're still getting some reports of disk corruption on
OSX but now all of it looks like the block files have gotten out of
sync with the database. It turns out that we were still using fsync()
on the block files, so this isn't surprising.
11 years ago
Warren Togami
36661955ad
Silence useless warning in src/json/json_spirit_writer_template.h to make important warnings easier to see.
...
warning: typedef ‘Char_type’ locally defined but not used [-Wunused-local-typedefs]
11 years ago
Charlie Lee
08ed7a26a9
For getnetworkhashps, use min/max to calculate the block times.
11 years ago
Charlie Lee
603a53712d
Merge pull request #69 from pooler/master-0.8
...
Use nChainWork in GetNetworkHashPS()
11 years ago
Warren Togami
329f177677
Litecoin version 0.8.5.1
11 years ago