Test net sync'd fine; still needs new EXT keys
42
.autotools
Executable file
@ -0,0 +1,42 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<configurations>
|
||||||
|
<configuration id="org.eclipse.linuxtools.cdt.autotools.core.configuration.build.2090242432">
|
||||||
|
<option id="configure" value="configure"/>
|
||||||
|
<option id="configdir" value=""/>
|
||||||
|
<option id="cache-file" value=""/>
|
||||||
|
<option id="help" value="false"/>
|
||||||
|
<option id="no-create" value="false"/>
|
||||||
|
<option id="quiet" value="false"/>
|
||||||
|
<option id="version" value="false"/>
|
||||||
|
<option id="host" value=""/>
|
||||||
|
<option id="build" value=""/>
|
||||||
|
<option id="target" value=""/>
|
||||||
|
<option id="prefix" value=""/>
|
||||||
|
<option id="exec-prefix" value=""/>
|
||||||
|
<option id="libdir" value=""/>
|
||||||
|
<option id="bindir" value=""/>
|
||||||
|
<option id="sbindir" value=""/>
|
||||||
|
<option id="includedir" value=""/>
|
||||||
|
<option id="datadir" value=""/>
|
||||||
|
<option id="sysconfdir" value=""/>
|
||||||
|
<option id="infodir" value=""/>
|
||||||
|
<option id="mandir" value=""/>
|
||||||
|
<option id="srcdir" value=""/>
|
||||||
|
<option id="localstatedir" value=""/>
|
||||||
|
<option id="sharedstatedir" value=""/>
|
||||||
|
<option id="libexecdir" value=""/>
|
||||||
|
<option id="oldincludedir" value=""/>
|
||||||
|
<option id="program-prefix" value=""/>
|
||||||
|
<option id="program-suffix" value=""/>
|
||||||
|
<option id="program-transform-name" value=""/>
|
||||||
|
<option id="enable-maintainer-mode" value="false"/>
|
||||||
|
<flag id="CFLAGS">
|
||||||
|
<flagvalue id="cflags-debug" value="false"/>
|
||||||
|
<flagvalue id="cflags-gprof" value="false"/>
|
||||||
|
<flagvalue id="cflags-gcov" value="false"/>
|
||||||
|
</flag>
|
||||||
|
<option id="user" value=""/>
|
||||||
|
<option id="autogen" value="autogen.sh"/>
|
||||||
|
<option id="autogenOpts" value=""/>
|
||||||
|
</configuration>
|
||||||
|
</configurations>
|
||||||
48
.cproject
Executable file
@ -0,0 +1,48 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||||
|
<?fileVersion 4.0.0?><cproject storage_type_id="org.eclipse.cdt.core.XmlProjectDescriptionStorage">
|
||||||
|
<storageModule moduleId="org.eclipse.cdt.core.settings">
|
||||||
|
<cconfiguration id="org.eclipse.linuxtools.cdt.autotools.core.configuration.build.2090242432">
|
||||||
|
<storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="org.eclipse.linuxtools.cdt.autotools.core.configuration.build.2090242432" moduleId="org.eclipse.cdt.core.settings" name="Build (GNU)">
|
||||||
|
<externalSettings/>
|
||||||
|
<extensions>
|
||||||
|
<extension id="org.eclipse.cdt.core.MachO64" point="org.eclipse.cdt.core.BinaryParser"/>
|
||||||
|
<extension id="org.eclipse.cdt.core.Cygwin_PE" point="org.eclipse.cdt.core.BinaryParser"/>
|
||||||
|
<extension id="org.eclipse.cdt.core.PE" point="org.eclipse.cdt.core.BinaryParser"/>
|
||||||
|
<extension id="org.eclipse.cdt.core.ELF" point="org.eclipse.cdt.core.BinaryParser"/>
|
||||||
|
<extension id="org.eclipse.cdt.core.GNU_ELF" point="org.eclipse.cdt.core.BinaryParser"/>
|
||||||
|
<extension id="org.eclipse.cdt.core.GASErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||||
|
<extension id="org.eclipse.cdt.core.GLDErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||||
|
<extension id="org.eclipse.cdt.core.MakeErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||||
|
<extension id="org.eclipse.cdt.core.GCCErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||||
|
</extensions>
|
||||||
|
</storageModule>
|
||||||
|
<storageModule moduleId="cdtBuildSystem" version="4.0.0">
|
||||||
|
<configuration artifactName="${ProjName}" buildArtefactType="org.eclipse.linuxtools.cdt.autotools.core.buildArtefactType.autotools" buildProperties="org.eclipse.cdt.build.core.buildArtefactType=org.eclipse.linuxtools.cdt.autotools.core.buildArtefactType.autotools" cleanCommand="rm -rf" description="" errorParsers="org.eclipse.cdt.core.MakeErrorParser;org.eclipse.cdt.core.GCCErrorParser;org.eclipse.cdt.core.GLDErrorParser;org.eclipse.cdt.core.GASErrorParser" id="org.eclipse.linuxtools.cdt.autotools.core.configuration.build.2090242432" name="Build (GNU)" parent="org.eclipse.linuxtools.cdt.autotools.core.configuration.build">
|
||||||
|
<folderInfo id="org.eclipse.linuxtools.cdt.autotools.core.configuration.build.2090242432." name="/" resourcePath="">
|
||||||
|
<toolChain id="org.eclipse.linuxtools.cdt.autotools.core.toolChain.1613141957" name="GNU Autotools Toolchain" superClass="org.eclipse.linuxtools.cdt.autotools.core.toolChain">
|
||||||
|
<targetPlatform id="org.eclipse.linuxtools.cdt.autotools.core.toolchain.targetPlatform.2002246328" isAbstract="false" name="GNU Autotools Target Platform" superClass="org.eclipse.linuxtools.cdt.autotools.core.toolchain.targetPlatform"/>
|
||||||
|
<builder id="org.eclipse.linuxtools.cdt.autotools.core.toolchain.builder.278004652" name="null.Build (GNU)" superClass="org.eclipse.linuxtools.cdt.autotools.core.toolchain.builder"/>
|
||||||
|
<tool id="org.eclipse.linuxtools.cdt.autotools.core.gnu.toolchain.tool.configure.824588041" name="configure" superClass="org.eclipse.linuxtools.cdt.autotools.core.gnu.toolchain.tool.configure"/>
|
||||||
|
<tool id="org.eclipse.linuxtools.cdt.autotools.core.toolchain.tool.autogen.1744100741" name="autogen.sh" superClass="org.eclipse.linuxtools.cdt.autotools.core.toolchain.tool.autogen"/>
|
||||||
|
<tool id="org.eclipse.linuxtools.cdt.autotools.core.toolchain.tool.gcc.492308072" name="GCC C Compiler" superClass="org.eclipse.linuxtools.cdt.autotools.core.toolchain.tool.gcc">
|
||||||
|
<inputType id="cdt.managedbuild.tool.gnu.c.compiler.input.481438038" superClass="cdt.managedbuild.tool.gnu.c.compiler.input"/>
|
||||||
|
</tool>
|
||||||
|
<tool id="org.eclipse.linuxtools.cdt.autotools.core.toolchain.tool.gpp.2022223081" name="GCC C++ Compiler" superClass="org.eclipse.linuxtools.cdt.autotools.core.toolchain.tool.gpp">
|
||||||
|
<inputType id="cdt.managedbuild.tool.gnu.cpp.compiler.input.1193834905" superClass="cdt.managedbuild.tool.gnu.cpp.compiler.input"/>
|
||||||
|
</tool>
|
||||||
|
</toolChain>
|
||||||
|
</folderInfo>
|
||||||
|
</configuration>
|
||||||
|
</storageModule>
|
||||||
|
<storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>
|
||||||
|
</cconfiguration>
|
||||||
|
</storageModule>
|
||||||
|
<storageModule moduleId="cdtBuildSystem" version="4.0.0">
|
||||||
|
<project id="witseg-ubuntu.org.eclipse.linuxtools.cdt.autotools.core.projectType.1534989057" name="GNU Autotools" projectType="org.eclipse.linuxtools.cdt.autotools.core.projectType"/>
|
||||||
|
</storageModule>
|
||||||
|
<storageModule moduleId="scannerConfiguration">
|
||||||
|
<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId=""/>
|
||||||
|
</storageModule>
|
||||||
|
<storageModule moduleId="org.eclipse.cdt.core.pathentry"/>
|
||||||
|
<storageModule moduleId="org.eclipse.cdt.core.LanguageSettingsProviders"/>
|
||||||
|
</cproject>
|
||||||
0
.github/ISSUE_TEMPLATE.md
vendored
Normal file → Executable file
0
.pydevproject
Normal file → Executable file
0
autogen.sh
Normal file → Executable file
0
contrib/debian/examples/bitcoin.conf
Normal file → Executable file
0
contrib/debian/rules
Normal file → Executable file
0
contrib/devtools/check-doc.py
Normal file → Executable file
0
contrib/devtools/clang-format-diff.py
Normal file → Executable file
0
contrib/devtools/commit-script-check.sh
Normal file → Executable file
0
contrib/devtools/copyright_header.py
Normal file → Executable file
0
contrib/devtools/gen-manpages.sh
Normal file → Executable file
0
contrib/devtools/git-subtree-check.sh
Normal file → Executable file
0
contrib/devtools/github-merge.py
Normal file → Executable file
0
contrib/devtools/optimize-pngs.py
Normal file → Executable file
0
contrib/devtools/security-check.py
Normal file → Executable file
0
contrib/devtools/symbol-check.py
Normal file → Executable file
0
contrib/devtools/test-security-check.py
Normal file → Executable file
0
contrib/devtools/update-translations.py
Normal file → Executable file
0
contrib/filter-lcov.py
Normal file → Executable file
0
contrib/gitian-build.sh
Normal file → Executable file
0
contrib/linearize/example-linearize.cfg
Normal file → Executable file
0
contrib/linearize/linearize-data.py
Normal file → Executable file
0
contrib/linearize/linearize-hashes.py
Normal file → Executable file
0
contrib/macdeploy/custom_dsstore.py
Normal file → Executable file
0
contrib/macdeploy/detached-sig-apply.sh
Normal file → Executable file
0
contrib/macdeploy/detached-sig-create.sh
Normal file → Executable file
0
contrib/macdeploy/extract-osx-sdk.sh
Normal file → Executable file
0
contrib/macdeploy/macdeployqtplus
Normal file → Executable file
0
contrib/qos/README.md
Normal file → Executable file
0
contrib/rpm/bitcoin.spec
Normal file → Executable file
0
contrib/seeds/generate-seeds.py
Normal file → Executable file
0
contrib/seeds/makeseeds.py
Normal file → Executable file
0
contrib/seeds/nodes_main.txt
Normal file → Executable file
0
contrib/seeds/nodes_test.txt
Normal file → Executable file
0
contrib/spendfrom/spendfrom.py
Normal file → Executable file
0
contrib/testgen/gen_base58_test_vectors.py
Normal file → Executable file
0
contrib/tidy_datadir.sh
Normal file → Executable file
0
contrib/verify-commits/gpg.sh
Normal file → Executable file
0
contrib/verify-commits/pre-push-hook.sh
Normal file → Executable file
0
contrib/verify-commits/verify-commits.sh
Normal file → Executable file
0
contrib/verifybinaries/verify.sh
Normal file → Executable file
0
contrib/windeploy/detached-sig-create.sh
Normal file → Executable file
0
contrib/zmq/zmq_sub.py
Normal file → Executable file
0
contrib/zmq/zmq_sub3.4.py
Normal file → Executable file
0
depends/config.guess
vendored
Normal file → Executable file
0
depends/config.sub
vendored
Normal file → Executable file
0
doc/README.md
Normal file → Executable file
0
doc/README_windows.txt
Normal file → Executable file
0
doc/dnsseed-policy.md
Normal file → Executable file
0
doc/gitian-building.md
Normal file → Executable file
0
doc/man/flo-cli.1
Normal file → Executable file
0
doc/man/flo-qt.1
Normal file → Executable file
0
doc/man/flo-tx.1
Normal file → Executable file
0
doc/man/flod.1
Normal file → Executable file
0
doc/release-process.md
Normal file → Executable file
0
share/genbuild.sh
Normal file → Executable file
0
share/qt/extract_strings_qt.py
Normal file → Executable file
0
share/rpcuser/rpcuser.py
Normal file → Executable file
0
src/addrman.cpp
Normal file → Executable file
0
src/addrman.h
Normal file → Executable file
0
src/bench/data/block413567.raw
Normal file → Executable file
3
src/bloom.cpp
Normal file → Executable file
@ -10,6 +10,7 @@
|
|||||||
#include "script/standard.h"
|
#include "script/standard.h"
|
||||||
#include "random.h"
|
#include "random.h"
|
||||||
#include "streams.h"
|
#include "streams.h"
|
||||||
|
#include "util.h"
|
||||||
|
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
@ -229,6 +230,8 @@ CRollingBloomFilter::CRollingBloomFilter(const unsigned int nElements, const dou
|
|||||||
* => nFilterBits = -nHashFuncs * nMaxElements / log(1.0 - pow(fpRate, 1.0 / nHashFuncs))
|
* => nFilterBits = -nHashFuncs * nMaxElements / log(1.0 - pow(fpRate, 1.0 / nHashFuncs))
|
||||||
* => nFilterBits = -nHashFuncs * nMaxElements / log(1.0 - exp(logFpRate / nHashFuncs))
|
* => nFilterBits = -nHashFuncs * nMaxElements / log(1.0 - exp(logFpRate / nHashFuncs))
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
uint32_t nFilterBits = (uint32_t)ceil(-1.0 * nHashFuncs * nMaxElements / log(1.0 - exp(logFpRate / nHashFuncs)));
|
uint32_t nFilterBits = (uint32_t)ceil(-1.0 * nHashFuncs * nMaxElements / log(1.0 - exp(logFpRate / nHashFuncs)));
|
||||||
data.clear();
|
data.clear();
|
||||||
/* For each data element we need to store 2 bits. If both bits are 0, the
|
/* For each data element we need to store 2 bits. If both bits are 0, the
|
||||||
|
|||||||
71
src/chainparams.cpp
Normal file → Executable file
@ -253,14 +253,41 @@ public:
|
|||||||
// Deployment of SegWit (BIP141, BIP143, and BIP147)
|
// Deployment of SegWit (BIP141, BIP143, and BIP147)
|
||||||
consensus.vDeployments[Consensus::DEPLOYMENT_SEGWIT].bit = 1;
|
consensus.vDeployments[Consensus::DEPLOYMENT_SEGWIT].bit = 1;
|
||||||
consensus.vDeployments[Consensus::DEPLOYMENT_SEGWIT].nStartTime = 1483228800; // January 1, 2017
|
consensus.vDeployments[Consensus::DEPLOYMENT_SEGWIT].nStartTime = 1483228800; // January 1, 2017
|
||||||
consensus.vDeployments[Consensus::DEPLOYMENT_SEGWIT].nTimeout = 1530446401; // July 1, 2018 FLO future date
|
consensus.vDeployments[Consensus::DEPLOYMENT_SEGWIT].nTimeout = 0; //must be 0 to not use segwit // 1530446401; // July 1, 2018 FLO future date
|
||||||
|
|
||||||
// The best chain should have at least this much work.
|
// The best chain should have at least this much work.
|
||||||
consensus.nMinimumChainWork = uint256S("0x000000000000000000000000000000000000000000000000000000083540886d");
|
// consensus.nMinimumChainWork = uint256S("0x000000000000000000000000000000000000000000000000000000083540886d");
|
||||||
|
consensus.nMinimumChainWork = uint256S("0x0000000000000000000000000000000000000000000000000000000800000000");
|
||||||
|
|
||||||
// By default assume that the signatures in ancestors of this block are valid.
|
// By default assume that the signatures in ancestors of this block are valid.
|
||||||
consensus.defaultAssumeValid = uint256S("0x4be79531ee8b0f410f0d8c8d785083acb4e14e5d54b0820502bc60f98a629b19"); //flo testnet block 20,000
|
consensus.defaultAssumeValid = uint256S("0x4be79531ee8b0f410f0d8c8d785083acb4e14e5d54b0820502bc60f98a629b19"); //flo testnet block 20,000
|
||||||
|
|
||||||
|
// Difficulty adjustments
|
||||||
|
consensus.nPowTargetSpacing = 40; // 40s block time
|
||||||
|
// V1
|
||||||
|
consensus.nTargetTimespan_Version1 = 60 * 60;
|
||||||
|
consensus.nInterval_Version1 = consensus.nTargetTimespan_Version1 / consensus.nPowTargetSpacing;
|
||||||
|
consensus.nMaxAdjustUp_Version1 = 75;
|
||||||
|
consensus.nMaxAdjustDown_Version1 = 300;
|
||||||
|
consensus.nAveragingInterval_Version1 = consensus.nInterval_Version1;
|
||||||
|
// V2
|
||||||
|
consensus.nHeight_Difficulty_Version2 = 208440;
|
||||||
|
consensus.nInterval_Version2 = 15;
|
||||||
|
consensus.nMaxAdjustDown_Version2 = 300;
|
||||||
|
consensus.nMaxAdjustUp_Version2 = 75;
|
||||||
|
consensus.nAveragingInterval_Version2 = consensus.nInterval_Version2;
|
||||||
|
// V3
|
||||||
|
consensus.nHeight_Difficulty_Version3 = 426000;
|
||||||
|
consensus.nInterval_Version3 = 1;
|
||||||
|
consensus.nMaxAdjustDown_Version3 = 3;
|
||||||
|
consensus.nMaxAdjustUp_Version3 = 2;
|
||||||
|
consensus.nAveragingInterval_Version3 = 6;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The message start string is designed to be unlikely to occur in normal data.
|
||||||
|
* The characters are rarely used upper ASCII, not valid as UTF-8, and produce
|
||||||
|
* a large 32-bit integer with any alignment.
|
||||||
|
*/
|
||||||
pchMessageStart[0] = 0xfd;
|
pchMessageStart[0] = 0xfd;
|
||||||
pchMessageStart[1] = 0xc0;
|
pchMessageStart[1] = 0xc0;
|
||||||
pchMessageStart[2] = 0x5a;
|
pchMessageStart[2] = 0x5a;
|
||||||
@ -275,8 +302,9 @@ public:
|
|||||||
|
|
||||||
vFixedSeeds.clear();
|
vFixedSeeds.clear();
|
||||||
vSeeds.clear();
|
vSeeds.clear();
|
||||||
|
|
||||||
// nodes with support for servicebits filtering should be at the top
|
// nodes with support for servicebits filtering should be at the top
|
||||||
vSeeds.emplace_back("testnet.florincoin.info", false);
|
// vSeeds.emplace_back("69.172.229.163:17312", false);
|
||||||
|
|
||||||
base58Prefixes[PUBKEY_ADDRESS] = std::vector<unsigned char>(1,115);
|
base58Prefixes[PUBKEY_ADDRESS] = std::vector<unsigned char>(1,115);
|
||||||
base58Prefixes[SCRIPT_ADDRESS] = std::vector<unsigned char>(1,198);
|
base58Prefixes[SCRIPT_ADDRESS] = std::vector<unsigned char>(1,198);
|
||||||
@ -296,12 +324,12 @@ public:
|
|||||||
{2056, uint256S("0xd3334db071731beaa651f10624c2fea1a5e8c6f9e50f0e602f86262938374148")},
|
{2056, uint256S("0xd3334db071731beaa651f10624c2fea1a5e8c6f9e50f0e602f86262938374148")},
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
//TODO: fix this below
|
|
||||||
chainTxData = ChainTxData{
|
chainTxData = ChainTxData{
|
||||||
// todo: flo; (litecoin: Data as of block 3351b6229da00b47ad7a8d7e1323b0e2874744b5296e3d6448293463ab758624 (height 153489)
|
// flo: Data as of block 4be79531ee8b0f410f0d8c8d785083acb4e14e5d54b0820502bc60f98a629b19 (height 20000)
|
||||||
1502953751,
|
1515699893, // * UNIX timestamp of last known number of transactions
|
||||||
382986,
|
34572, // * total number of transactions between genesis and that timestamp
|
||||||
0.01
|
0.001454897737891917 // * estimated number of transactions per second after that timestamp
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
@ -341,7 +369,32 @@ public:
|
|||||||
// By default assume that the signatures in ancestors of this block are valid.
|
// By default assume that the signatures in ancestors of this block are valid.
|
||||||
consensus.defaultAssumeValid = uint256S("0x00");
|
consensus.defaultAssumeValid = uint256S("0x00");
|
||||||
|
|
||||||
pchMessageStart[0] = 0xfa;
|
// Difficulty adjustments
|
||||||
|
consensus.nPowTargetSpacing = 40; // 40s block time
|
||||||
|
// V1
|
||||||
|
consensus.nTargetTimespan_Version1 = 60 * 60;
|
||||||
|
consensus.nInterval_Version1 = consensus.nTargetTimespan_Version1 / consensus.nPowTargetSpacing;
|
||||||
|
consensus.nMaxAdjustUp_Version1 = 75;
|
||||||
|
consensus.nMaxAdjustDown_Version1 = 300;
|
||||||
|
consensus.nAveragingInterval_Version1 = consensus.nInterval_Version1;
|
||||||
|
// V2
|
||||||
|
consensus.nHeight_Difficulty_Version2 = 208440;
|
||||||
|
consensus.nInterval_Version2 = 15;
|
||||||
|
consensus.nMaxAdjustDown_Version2 = 300;
|
||||||
|
consensus.nMaxAdjustUp_Version2 = 75;
|
||||||
|
consensus.nAveragingInterval_Version2 = consensus.nInterval_Version2;
|
||||||
|
// V3
|
||||||
|
consensus.nHeight_Difficulty_Version3 = 426000;
|
||||||
|
consensus.nInterval_Version3 = 1;
|
||||||
|
consensus.nMaxAdjustDown_Version3 = 3;
|
||||||
|
consensus.nMaxAdjustUp_Version3 = 2;
|
||||||
|
consensus.nAveragingInterval_Version3 = 6;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The message start string is designed to be unlikely to occur in normal data.
|
||||||
|
* The characters are rarely used upper ASCII, not valid as UTF-8, and produce
|
||||||
|
* a large 32-bit integer with any alignment.
|
||||||
|
*/pchMessageStart[0] = 0xfa;
|
||||||
pchMessageStart[1] = 0xbf;
|
pchMessageStart[1] = 0xbf;
|
||||||
pchMessageStart[2] = 0xb5;
|
pchMessageStart[2] = 0xb5;
|
||||||
pchMessageStart[3] = 0xda;
|
pchMessageStart[3] = 0xda;
|
||||||
|
|||||||
0
src/chainparamsbase.cpp
Normal file → Executable file
0
src/chainparamsseeds.h
Normal file → Executable file
0
src/leveldb/build_detect_platform
Normal file → Executable file
0
src/net.cpp
Normal file → Executable file
0
src/net_processing.cpp
Normal file → Executable file
0
src/policy/feerate.cpp
Normal file → Executable file
1
src/policy/fees.cpp
Normal file → Executable file
@ -374,7 +374,6 @@ double TxConfirmStats::EstimateMedianVal(int confTarget, double sufficientTxVal,
|
|||||||
failBucket.inMempool = extraNum;
|
failBucket.inMempool = extraNum;
|
||||||
failBucket.leftMempool = failNum;
|
failBucket.leftMempool = failNum;
|
||||||
}
|
}
|
||||||
|
|
||||||
LogPrint(BCLog::ESTIMATEFEE, "FeeEst: %d %s%.0f%% decay %.5f: feerate: %g from (%g - %g) %.2f%% %.1f/(%.1f %d mem %.1f out) Fail: (%g - %g) %.2f%% %.1f/(%.1f %d mem %.1f out)\n",
|
LogPrint(BCLog::ESTIMATEFEE, "FeeEst: %d %s%.0f%% decay %.5f: feerate: %g from (%g - %g) %.2f%% %.1f/(%.1f %d mem %.1f out) Fail: (%g - %g) %.2f%% %.1f/(%.1f %d mem %.1f out)\n",
|
||||||
confTarget, requireGreater ? ">" : "<", 100.0 * successBreakPoint, decay,
|
confTarget, requireGreater ? ">" : "<", 100.0 * successBreakPoint, decay,
|
||||||
median, passBucket.start, passBucket.end,
|
median, passBucket.start, passBucket.end,
|
||||||
|
|||||||
0
src/qt/bitcoin.qrc
Normal file → Executable file
0
src/qt/forms/coincontroldialog.ui
Normal file → Executable file
0
src/qt/res/icons/bitcoin.ico
Normal file → Executable file
|
Before Width: | Height: | Size: 97 KiB After Width: | Height: | Size: 97 KiB |
0
src/qt/res/icons/bitcoin.png
Normal file → Executable file
|
Before Width: | Height: | Size: 257 KiB After Width: | Height: | Size: 257 KiB |
0
src/qt/res/icons/flo_splash.png
Normal file → Executable file
|
Before Width: | Height: | Size: 73 KiB After Width: | Height: | Size: 73 KiB |
0
src/qt/res/icons/litecoin_splash.png
Normal file → Executable file
|
Before Width: | Height: | Size: 92 KiB After Width: | Height: | Size: 92 KiB |
0
src/qt/res/movies/makespinner.sh
Normal file → Executable file
0
src/qt/test/paymentrequestdata.h
Normal file → Executable file
2
src/rpc/blockchain.cpp
Normal file → Executable file
@ -57,7 +57,6 @@ double GetDifficulty(const CBlockIndex* blockindex)
|
|||||||
}
|
}
|
||||||
|
|
||||||
int nShift = (blockindex->nBits >> 24) & 0xff;
|
int nShift = (blockindex->nBits >> 24) & 0xff;
|
||||||
|
|
||||||
double dDiff =
|
double dDiff =
|
||||||
(double)0x0000ffff / (double)(blockindex->nBits & 0x00ffffff);
|
(double)0x0000ffff / (double)(blockindex->nBits & 0x00ffffff);
|
||||||
|
|
||||||
@ -1526,6 +1525,7 @@ UniValue getchaintxstats(const JSONRPCRequest& request)
|
|||||||
UniValue ret(UniValue::VOBJ);
|
UniValue ret(UniValue::VOBJ);
|
||||||
ret.push_back(Pair("time", (int64_t)pindex->nTime));
|
ret.push_back(Pair("time", (int64_t)pindex->nTime));
|
||||||
ret.push_back(Pair("txcount", (int64_t)pindex->nChainTx));
|
ret.push_back(Pair("txcount", (int64_t)pindex->nChainTx));
|
||||||
|
|
||||||
ret.push_back(Pair("txrate", ((double)nTxDiff) / nTimeDiff));
|
ret.push_back(Pair("txrate", ((double)nTxDiff) / nTimeDiff));
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
|
|||||||
0
src/rpc/mining.cpp
Normal file → Executable file
0
src/rpc/net.cpp
Normal file → Executable file
0
src/rpc/rawtransaction.cpp
Normal file → Executable file
0
src/rpc/server.cpp
Normal file → Executable file
0
src/secp256k1/autogen.sh
Normal file → Executable file
0
src/secp256k1/src/modules/recovery/main_impl.h
Normal file → Executable file
0
src/test/README.md
Normal file → Executable file
0
src/test/amount_tests.cpp
Normal file → Executable file
0
src/txdb.cpp
Normal file → Executable file
0
src/univalue/autogen.sh
Normal file → Executable file
2
src/validation.cpp
Normal file → Executable file
@ -1810,6 +1810,7 @@ static bool ConnectBlock(const CBlock& block, CValidationState& state, CBlockInd
|
|||||||
pos.nTxOffset += ::GetSerializeSize(tx, SER_DISK, CLIENT_VERSION);
|
pos.nTxOffset += ::GetSerializeSize(tx, SER_DISK, CLIENT_VERSION);
|
||||||
}
|
}
|
||||||
int64_t nTime3 = GetTimeMicros(); nTimeConnect += nTime3 - nTime2;
|
int64_t nTime3 = GetTimeMicros(); nTimeConnect += nTime3 - nTime2;
|
||||||
|
|
||||||
LogPrint(BCLog::BENCH, " - Connect %u transactions: %.2fms (%.3fms/tx, %.3fms/txin) [%.2fs]\n", (unsigned)block.vtx.size(), 0.001 * (nTime3 - nTime2), 0.001 * (nTime3 - nTime2) / block.vtx.size(), nInputs <= 1 ? 0 : 0.001 * (nTime3 - nTime2) / (nInputs-1), nTimeConnect * 0.000001);
|
LogPrint(BCLog::BENCH, " - Connect %u transactions: %.2fms (%.3fms/tx, %.3fms/txin) [%.2fs]\n", (unsigned)block.vtx.size(), 0.001 * (nTime3 - nTime2), 0.001 * (nTime3 - nTime2) / block.vtx.size(), nInputs <= 1 ? 0 : 0.001 * (nTime3 - nTime2) / (nInputs-1), nTimeConnect * 0.000001);
|
||||||
|
|
||||||
CAmount blockReward = nFees + GetBlockSubsidy(pindex->nHeight, chainparams.GetConsensus());
|
CAmount blockReward = nFees + GetBlockSubsidy(pindex->nHeight, chainparams.GetConsensus());
|
||||||
@ -3603,6 +3604,7 @@ bool CVerifyDB::VerifyDB(const CChainParams& chainparams, CCoinsView *coinsview,
|
|||||||
for (CBlockIndex* pindex = chainActive.Tip(); pindex && pindex->pprev; pindex = pindex->pprev)
|
for (CBlockIndex* pindex = chainActive.Tip(); pindex && pindex->pprev; pindex = pindex->pprev)
|
||||||
{
|
{
|
||||||
boost::this_thread::interruption_point();
|
boost::this_thread::interruption_point();
|
||||||
|
|
||||||
int percentageDone = std::max(1, std::min(99, (int)(((double)(chainActive.Height() - pindex->nHeight)) / (double)nCheckDepth * (nCheckLevel >= 4 ? 50 : 100))));
|
int percentageDone = std::max(1, std::min(99, (int)(((double)(chainActive.Height() - pindex->nHeight)) / (double)nCheckDepth * (nCheckLevel >= 4 ? 50 : 100))));
|
||||||
if (reportDone < percentageDone/10) {
|
if (reportDone < percentageDone/10) {
|
||||||
// report every 10% step
|
// report every 10% step
|
||||||
|
|||||||