Commit Graph
525 Commits
Author SHA1 Message Date
myriadcoin 7138dec7b1 Calculate elapsed time using median instead of single block time 2015-02-23 11:47:12 +02:00
myriadcoin b6d1bb8e57 Disconnect obsolote sub versions 2014-12-19 14:40:10 +02:00
myriadcoin 2165b4b6ce Postpone algo comparison changes 2014-12-07 23:15:24 +02:00
myriadcoin 8da14da43e Change to count nr of algos with best wok for chain comparisons 2014-12-07 16:15:50 +02:00
myriadcoin 321b2957dd Undo dev changes 2014-12-07 12:42:52 +02:00
myriadcoin 422b250b84 Change to compare chains by counting winning algos 2014-12-07 12:02:25 +02:00
myriadcoin 69f9d24ae0 Disconnect 0.9.2.6 peers 2014-11-07 07:07:28 +02:00
myriadcoin 291c191b9a 0.9.2.7 2014-11-05 17:07:44 +02:00
myriadcoin e73ca065c0 Reject pre-fork sub versions 2014-11-03 16:47:42 +02:00
myriadcoin efcbaca72c 0.9.2.6 2014-11-02 13:14:13 +02:00
myriadcoin 6ad68dd329 Start block 740000 2014-11-02 10:36:21 +02:00
myriadcoin af187c9c36 Chain work modify 2014-09-24 23:07:32 +02:00
myriadcoin cc63dc117e Chain work modify 2014-09-24 22:18:19 +02:00
myriadcoin a7f6211208 Stealth addresses 2014-09-24 21:10:34 +02:00
myriadcoin 833e6fe3a3 Stealth addresses 2014-09-24 20:19:23 +02:00
myriadcoin 9fec5da034 Stealth addresses 2014-09-20 08:54:53 +02:00
myriadcoin fb796b26dc Log algo in UpdateTip 2014-08-11 00:05:29 +02:00
myriadcoin 11ede76e59 0.9.2 2014-08-08 12:32:18 +02:00
myriadcoin 4739dcdb44 0.9.2 2014-08-08 02:52:33 +02:00
myriadcoin 34abdc7317 Algorithm weightings for work contribution to chain 2014-04-07 18:39:15 +02:00
myriadcoin 4bbebad4f3 Allow algo work weighting (all algos 1) 2014-04-03 19:31:42 +02:00
myriadcoin f1a9ebbdc8 Myriadcoin 2014-02-23 18:52:46 +02:00
zetacoin d65257c0b9 Initial Zetacoin checkin 2013-08-03 20:35:51 +02:00
Jeff Garzik d247a5d130 Move internal miner/block creation to separate miner.cpp module.
Public functions referenced elsewhere are added to miner.h.
2013-07-31 09:43:35 -04:00
Jeff Garzik 18946846d5 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.
2013-07-31 08:45:49 -04:00
Gavin Andresen 050d2e953f Remove #define loop from util.h
Replace the loop macro with while (true). The #define caused
problems for Qt.
2013-07-31 14:06:44 +10:00
Jeff Garzik d598872726 Merge pull request #2743 from jgarzik/reject-reason
Log reason for non-standard transaction rejection
2013-07-10 08:50:49 -07:00
Pieter Wuille 4ad73c6b08 Merge pull request #2209 from CodeShark/WalletRegistrationLocks
Wallet registration locks in main.cpp + UnregisterAllWallet() function
2013-06-25 16:33:16 -07:00
Jeff Garzik 481d899794 Merge pull request #2792 from sipa/coreimpl
Move core implementations to core.cpp
2013-06-25 11:52:18 -07:00
Peter ToddandGavin Andresen c40a5aaaf4 Truncate oversize 'tx' messages before relaying/storing.
Fixes a memory exhaustion attack on low-memory peers.
2013-06-25 10:37:50 -04:00
Pieter Wuille f121db58e4 Move core implementations to core.cpp 2013-06-25 10:33:29 +02:00
Eric Lombrozo e5cefb9be1 Added locks on the setpwalletRegistered functions in main.cpp and added an UnregisterAllWallets function. 2013-06-24 09:25:23 -07:00
Eric Lombrozo 2a4d3464fd Pulled AcceptBlock out of CBlock. 2013-06-23 19:59:35 -07:00
Eric Lombrozo 38991ffa8a Pulled CheckBlock out of CBlock. 2013-06-23 19:59:35 -07:00
Eric Lombrozo 1959997afb Pulled AddToBlockIndex out of CBlock. 2013-06-23 19:59:35 -07:00
Eric Lombrozo f3ae51dcce Pulled ConnectBlock out of CBlock. 2013-06-23 19:59:35 -07:00
Eric Lombrozo 5c363ed622 Pulled DisconnectBlock out of CBlock. 2013-06-23 19:59:34 -07:00
Eric Lombrozo 8031399494 Moved ReadBlockFromDisk implementation to main.cpp 2013-06-23 19:59:34 -07:00
Eric Lombrozo 7db120d531 Moved CBlock::ReadFromDisk out of CBlock to functions ReadBlockFromDisk in main.h 2013-06-23 19:59:34 -07:00
Eric Lombrozo 226f821942 Moved WriteBlockToDisk implementation from main.h to main.cpp 2013-06-23 19:59:32 -07:00
Eric Lombrozo a6dba0fdb2 Moved CBlock::WriteToDisk out of CBlock to inline function WriteBlockToDisk in main.h 2013-06-23 19:58:23 -07:00
Jeff Garzik 4be2aba302 Merge pull request #2778 from jgarzik/rpc-verifydb
RPC: add 'verifychain' to verify chain database at runtime
2013-06-22 23:08:13 -07:00
Jeff Garzik 980bfe6ef8 Log reason for non-standard transaction rejection 2013-06-23 02:05:25 -04:00
Pieter Wuille b4a8a326c0 Merge pull request #2660 from TheBlueMatt/gmfrefactor
Refactor fee rules to make them actually readable.
2013-06-22 10:08:57 -07:00
Jeff Garzik f590653377 RPC: add 'verifychain', to verify chain database at runtime 2013-06-19 11:53:02 -04:00
Jeff Garzik 168ba99392 Pass check level, check depth to VerifyDB() 2013-06-19 11:32:49 -04:00
Mike Hearn 0e4b317555 Introduce a CChainParameters singleton class and regtest mode.
The new class is accessed via the Params() method and holds
most things that vary between main, test and regtest networks.
The regtest mode has two purposes, one is to run the
bitcoind/bitcoinj comparison tool which compares two separate
implementations of the Bitcoin protocol looking for divergence.

The other is that when run, you get a local node which can mine
a single block instantly, which is highly convenient for testing
apps during development as there's no need to wait 10 minutes for
a block on the testnet.
2013-06-19 16:28:52 +02:00
Mike Hearn 70e7fba06d Move implementation of some CBlockLocator methods
Move out of main.h to improve compile times and add documentation
for what the methods do.
2013-06-19 15:39:45 +02:00
Matt Corallo 87cce04c17 Refactor fee rules to make them actually readable.
This (nearly) doesn't change fee rules at all:
 * To make it into the fee transaction area, the dPriority comparison
   changed from < to <=
 * We now just ignore transactions > MAX_BLOCK_SIZE/4 instead of
   doing some calculations to require increasingly large fees as
   size increases.
2013-06-14 13:37:43 +02:00
Matt Corallo b1f15b218b Remove broken option to skip input checking for wallet txn. 2013-06-13 22:28:03 +02:00