Test net sync'd fine; still needs new EXT keys

This commit is contained in:
Ray Engelking 2018-01-11 19:21:07 -05:00
parent 46d41142a3
commit 04225f95ec
179 changed files with 1527 additions and 1380 deletions

42
.autotools Executable file
View 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
View 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
View File

78
.project Normal file → Executable file
View File

@ -1,39 +1,39 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<projectDescription> <projectDescription>
<name>witseg-ubuntu</name> <name>witseg-ubuntu</name>
<comment></comment> <comment></comment>
<projects> <projects>
</projects> </projects>
<buildSpec> <buildSpec>
<buildCommand> <buildCommand>
<name>org.eclipse.cdt.autotools.core.genmakebuilderV2</name> <name>org.eclipse.cdt.autotools.core.genmakebuilderV2</name>
<arguments> <arguments>
</arguments> </arguments>
</buildCommand> </buildCommand>
<buildCommand> <buildCommand>
<name>org.eclipse.cdt.managedbuilder.core.genmakebuilder</name> <name>org.eclipse.cdt.managedbuilder.core.genmakebuilder</name>
<triggers>clean,full,incremental,</triggers> <triggers>clean,full,incremental,</triggers>
<arguments> <arguments>
</arguments> </arguments>
</buildCommand> </buildCommand>
<buildCommand> <buildCommand>
<name>org.python.pydev.PyDevBuilder</name> <name>org.python.pydev.PyDevBuilder</name>
<arguments> <arguments>
</arguments> </arguments>
</buildCommand> </buildCommand>
<buildCommand> <buildCommand>
<name>org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder</name> <name>org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder</name>
<triggers>full,incremental,</triggers> <triggers>full,incremental,</triggers>
<arguments> <arguments>
</arguments> </arguments>
</buildCommand> </buildCommand>
</buildSpec> </buildSpec>
<natures> <natures>
<nature>org.python.pydev.pythonNature</nature> <nature>org.python.pydev.pythonNature</nature>
<nature>org.eclipse.cdt.core.cnature</nature> <nature>org.eclipse.cdt.core.cnature</nature>
<nature>org.eclipse.cdt.core.ccnature</nature> <nature>org.eclipse.cdt.core.ccnature</nature>
<nature>org.eclipse.cdt.managedbuilder.core.managedBuildNature</nature> <nature>org.eclipse.cdt.managedbuilder.core.managedBuildNature</nature>
<nature>org.eclipse.cdt.managedbuilder.core.ScannerConfigNature</nature> <nature>org.eclipse.cdt.managedbuilder.core.ScannerConfigNature</nature>
<nature>org.eclipse.cdt.autotools.core.autotoolsNatureV2</nature> <nature>org.eclipse.cdt.autotools.core.autotoolsNatureV2</nature>
</natures> </natures>
</projectDescription> </projectDescription>

10
.pydevproject Normal file → Executable file
View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?> <?xml version="1.0" encoding="UTF-8" standalone="no"?>
<?eclipse-pydev version="1.0"?><pydev_project> <?eclipse-pydev version="1.0"?><pydev_project>
<pydev_property name="org.python.pydev.PYTHON_PROJECT_INTERPRETER">Default</pydev_property> <pydev_property name="org.python.pydev.PYTHON_PROJECT_INTERPRETER">Default</pydev_property>
<pydev_property name="org.python.pydev.PYTHON_PROJECT_VERSION">python 2.7</pydev_property> <pydev_property name="org.python.pydev.PYTHON_PROJECT_VERSION">python 2.7</pydev_property>
</pydev_project> </pydev_project>

0
autogen.sh Normal file → Executable file
View File

0
contrib/debian/examples/bitcoin.conf Normal file → Executable file
View File

0
contrib/debian/rules Normal file → Executable file
View File

0
contrib/devtools/check-doc.py Normal file → Executable file
View File

0
contrib/devtools/clang-format-diff.py Normal file → Executable file
View File

0
contrib/devtools/commit-script-check.sh Normal file → Executable file
View File

0
contrib/devtools/copyright_header.py Normal file → Executable file
View File

0
contrib/devtools/gen-manpages.sh Normal file → Executable file
View File

0
contrib/devtools/git-subtree-check.sh Normal file → Executable file
View File

0
contrib/devtools/github-merge.py Normal file → Executable file
View File

0
contrib/devtools/optimize-pngs.py Normal file → Executable file
View File

0
contrib/devtools/security-check.py Normal file → Executable file
View File

0
contrib/devtools/symbol-check.py Normal file → Executable file
View File

0
contrib/devtools/test-security-check.py Normal file → Executable file
View File

0
contrib/devtools/update-translations.py Normal file → Executable file
View File

0
contrib/filter-lcov.py Normal file → Executable file
View File

0
contrib/gitian-build.sh Normal file → Executable file
View File

0
contrib/linearize/example-linearize.cfg Normal file → Executable file
View File

0
contrib/linearize/linearize-data.py Normal file → Executable file
View File

0
contrib/linearize/linearize-hashes.py Normal file → Executable file
View File

0
contrib/macdeploy/custom_dsstore.py Normal file → Executable file
View File

0
contrib/macdeploy/detached-sig-apply.sh Normal file → Executable file
View File

0
contrib/macdeploy/detached-sig-create.sh Normal file → Executable file
View File

0
contrib/macdeploy/extract-osx-sdk.sh Normal file → Executable file
View File

0
contrib/macdeploy/macdeployqtplus Normal file → Executable file
View File

0
contrib/qos/README.md Normal file → Executable file
View File

0
contrib/rpm/bitcoin.spec Normal file → Executable file
View File

0
contrib/seeds/generate-seeds.py Normal file → Executable file
View File

0
contrib/seeds/makeseeds.py Normal file → Executable file
View File

0
contrib/seeds/nodes_main.txt Normal file → Executable file
View File

0
contrib/seeds/nodes_test.txt Normal file → Executable file
View File

0
contrib/spendfrom/spendfrom.py Normal file → Executable file
View File

0
contrib/testgen/gen_base58_test_vectors.py Normal file → Executable file
View File

0
contrib/tidy_datadir.sh Normal file → Executable file
View File

0
contrib/verify-commits/gpg.sh Normal file → Executable file
View File

0
contrib/verify-commits/pre-push-hook.sh Normal file → Executable file
View File

0
contrib/verify-commits/verify-commits.sh Normal file → Executable file
View File

0
contrib/verifybinaries/verify.sh Normal file → Executable file
View File

0
contrib/windeploy/detached-sig-create.sh Normal file → Executable file
View File

0
contrib/zmq/zmq_sub.py Normal file → Executable file
View File

0
contrib/zmq/zmq_sub3.4.py Normal file → Executable file
View File

0
depends/config.guess vendored Normal file → Executable file
View File

0
depends/config.sub vendored Normal file → Executable file
View File

0
doc/README.md Normal file → Executable file
View File

0
doc/README_windows.txt Normal file → Executable file
View File

0
doc/dnsseed-policy.md Normal file → Executable file
View File

0
doc/gitian-building.md Normal file → Executable file
View File

188
doc/man/flo-cli.1 Normal file → Executable file
View File

@ -1,94 +1,94 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.3. .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.3.
.TH FLO-CLI "1" "September 2017" "flo-cli v0.15.0.1" "User Commands" .TH FLO-CLI "1" "September 2017" "flo-cli v0.15.0.1" "User Commands"
.SH NAME .SH NAME
flo-cli \- manual page for flo-cli v0.15.0.1 flo-cli \- manual page for flo-cli v0.15.0.1
.SH DESCRIPTION .SH DESCRIPTION
FLO Core RPC client version v0.15.0.1\-dirty FLO Core RPC client version v0.15.0.1\-dirty
.SS "Usage:" .SS "Usage:"
.TP .TP
flo\-cli [options] <command> [params] flo\-cli [options] <command> [params]
Send command to FLO Core Send command to FLO Core
.IP .IP
flo\-cli [options] \fB\-named\fR <command> [name=value] ... Send command to FLO Core (with named arguments) flo\-cli [options] \fB\-named\fR <command> [name=value] ... Send command to FLO Core (with named arguments)
flo\-cli [options] help List commands flo\-cli [options] help List commands
flo\-cli [options] help <command> Get help for a command flo\-cli [options] help <command> Get help for a command
.SH OPTIONS .SH OPTIONS
.HP .HP
\-? \-?
.IP .IP
This help message This help message
.HP .HP
\fB\-conf=\fR<file> \fB\-conf=\fR<file>
.IP .IP
Specify configuration file (default: flo.conf) Specify configuration file (default: flo.conf)
.HP .HP
\fB\-datadir=\fR<dir> \fB\-datadir=\fR<dir>
.IP .IP
Specify data directory Specify data directory
.PP .PP
Chain selection options: Chain selection options:
.HP .HP
\fB\-testnet\fR \fB\-testnet\fR
.IP .IP
Use the test chain Use the test chain
.HP .HP
\fB\-regtest\fR \fB\-regtest\fR
.IP .IP
Enter regression test mode, which uses a special chain in which blocks Enter regression test mode, which uses a special chain in which blocks
can be solved instantly. This is intended for regression testing can be solved instantly. This is intended for regression testing
tools and app development. tools and app development.
.HP .HP
\fB\-named\fR \fB\-named\fR
.IP .IP
Pass named instead of positional arguments (default: false) Pass named instead of positional arguments (default: false)
.HP .HP
\fB\-rpcconnect=\fR<ip> \fB\-rpcconnect=\fR<ip>
.IP .IP
Send commands to node running on <ip> (default: 127.0.0.1) Send commands to node running on <ip> (default: 127.0.0.1)
.HP .HP
\fB\-rpcport=\fR<port> \fB\-rpcport=\fR<port>
.IP .IP
Connect to JSON\-RPC on <port> (default: 7312 or testnet: 17312) Connect to JSON\-RPC on <port> (default: 7312 or testnet: 17312)
.HP .HP
\fB\-rpcwait\fR \fB\-rpcwait\fR
.IP .IP
Wait for RPC server to start Wait for RPC server to start
.HP .HP
\fB\-rpcuser=\fR<user> \fB\-rpcuser=\fR<user>
.IP .IP
Username for JSON\-RPC connections Username for JSON\-RPC connections
.HP .HP
\fB\-rpcpassword=\fR<pw> \fB\-rpcpassword=\fR<pw>
.IP .IP
Password for JSON\-RPC connections Password for JSON\-RPC connections
.HP .HP
\fB\-rpcclienttimeout=\fR<n> \fB\-rpcclienttimeout=\fR<n>
.IP .IP
Timeout in seconds during HTTP requests, or 0 for no timeout. (default: Timeout in seconds during HTTP requests, or 0 for no timeout. (default:
900) 900)
.HP .HP
\fB\-stdin\fR \fB\-stdin\fR
.IP .IP
Read extra arguments from standard input, one per line until EOF/Ctrl\-D Read extra arguments from standard input, one per line until EOF/Ctrl\-D
(recommended for sensitive information such as passphrases) (recommended for sensitive information such as passphrases)
.HP .HP
\fB\-rpcwallet=\fR<walletname> \fB\-rpcwallet=\fR<walletname>
.IP .IP
Send RPC for non\-default wallet on RPC server (argument is wallet Send RPC for non\-default wallet on RPC server (argument is wallet
filename in flod directory, required if flod/\-Qt runs filename in flod directory, required if flod/\-Qt runs
with multiple wallets) with multiple wallets)
.SH COPYRIGHT .SH COPYRIGHT
Copyright (C) 2009-2017 The Bitcoin Core developers Copyright (C) 2009-2017 The Bitcoin Core developers
Copyright (C) 2011-2017 The FLO Core developers Copyright (C) 2011-2017 The FLO Core developers
Please contribute if you find FLO Core useful. Visit Please contribute if you find FLO Core useful. Visit
<https://flo.cash> for further information about the software. <https://flo.cash> for further information about the software.
The source code is available from <https://github.com/floblockchain/flo>. The source code is available from <https://github.com/floblockchain/flo>.
This is experimental software. This is experimental software.
Distributed under the MIT software license, see the accompanying file COPYING Distributed under the MIT software license, see the accompanying file COPYING
or <https://opensource.org/licenses/MIT> or <https://opensource.org/licenses/MIT>
This product includes software developed by the OpenSSL Project for use in the This product includes software developed by the OpenSSL Project for use in the
OpenSSL Toolkit <https://www.openssl.org> and cryptographic software written by OpenSSL Toolkit <https://www.openssl.org> and cryptographic software written by
Eric Young and UPnP software written by Thomas Bernard. Eric Young and UPnP software written by Thomas Bernard.

1124
doc/man/flo-qt.1 Normal file → Executable file

File diff suppressed because it is too large Load Diff

256
doc/man/flo-tx.1 Normal file → Executable file
View File

@ -1,128 +1,128 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.3. .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.3.
.TH FLO-TX "1" "September 2017" "flo-tx v0.15.0.1" "User Commands" .TH FLO-TX "1" "September 2017" "flo-tx v0.15.0.1" "User Commands"
.SH NAME .SH NAME
flo-tx \- manual page for flo-tx v0.15.0.1 flo-tx \- manual page for flo-tx v0.15.0.1
.SH DESCRIPTION .SH DESCRIPTION
FLO Core flo\-tx utility version v0.15.0.1\-dirty FLO Core flo\-tx utility version v0.15.0.1\-dirty
.SS "Usage:" .SS "Usage:"
.TP .TP
flo\-tx [options] <hex\-tx> [commands] flo\-tx [options] <hex\-tx> [commands]
Update hex\-encoded flo transaction Update hex\-encoded flo transaction
.TP .TP
flo\-tx [options] \fB\-create\fR [commands] flo\-tx [options] \fB\-create\fR [commands]
Create hex\-encoded flo transaction Create hex\-encoded flo transaction
.SH OPTIONS .SH OPTIONS
.HP .HP
\-? \-?
.IP .IP
This help message This help message
.HP .HP
\fB\-create\fR \fB\-create\fR
.IP .IP
Create new, empty TX. Create new, empty TX.
.HP .HP
\fB\-json\fR \fB\-json\fR
.IP .IP
Select JSON output Select JSON output
.HP .HP
\fB\-txid\fR \fB\-txid\fR
.IP .IP
Output only the hex\-encoded transaction id of the resultant transaction. Output only the hex\-encoded transaction id of the resultant transaction.
.PP .PP
Chain selection options: Chain selection options:
.HP .HP
\fB\-testnet\fR \fB\-testnet\fR
.IP .IP
Use the test chain Use the test chain
.HP .HP
\fB\-regtest\fR \fB\-regtest\fR
.IP .IP
Enter regression test mode, which uses a special chain in which blocks Enter regression test mode, which uses a special chain in which blocks
can be solved instantly. This is intended for regression testing can be solved instantly. This is intended for regression testing
tools and app development. tools and app development.
.PP .PP
Commands: Commands:
.IP .IP
delin=N delin=N
.IP .IP
Delete input N from TX Delete input N from TX
.IP .IP
delout=N delout=N
.IP .IP
Delete output N from TX Delete output N from TX
.IP .IP
in=TXID:VOUT(:SEQUENCE_NUMBER) in=TXID:VOUT(:SEQUENCE_NUMBER)
.IP .IP
Add input to TX Add input to TX
.IP .IP
locktime=N locktime=N
.IP .IP
Set TX lock time to N Set TX lock time to N
.IP .IP
nversion=N nversion=N
.IP .IP
Set TX version to N Set TX version to N
.IP .IP
replaceable(=N) replaceable(=N)
.IP .IP
Set RBF opt\-in sequence number for input N (if not provided, opt\-in all Set RBF opt\-in sequence number for input N (if not provided, opt\-in all
available inputs) available inputs)
.IP .IP
outaddr=VALUE:ADDRESS outaddr=VALUE:ADDRESS
.IP .IP
Add address\-based output to TX Add address\-based output to TX
.IP .IP
outpubkey=VALUE:PUBKEY[:FLAGS] outpubkey=VALUE:PUBKEY[:FLAGS]
.IP .IP
Add pay\-to\-pubkey output to TX. Optionally add the "W" flag to produce a Add pay\-to\-pubkey output to TX. Optionally add the "W" flag to produce a
pay\-to\-witness\-pubkey\-hash output. Optionally add the "S" flag to pay\-to\-witness\-pubkey\-hash output. Optionally add the "S" flag to
wrap the output in a pay\-to\-script\-hash. wrap the output in a pay\-to\-script\-hash.
.IP .IP
outdata=[VALUE:]DATA outdata=[VALUE:]DATA
.IP .IP
Add data\-based output to TX Add data\-based output to TX
.IP .IP
outscript=VALUE:SCRIPT[:FLAGS] outscript=VALUE:SCRIPT[:FLAGS]
.IP .IP
Add raw script output to TX. Optionally add the "W" flag to produce a Add raw script output to TX. Optionally add the "W" flag to produce a
pay\-to\-witness\-script\-hash output. Optionally add the "S" flag to pay\-to\-witness\-script\-hash output. Optionally add the "S" flag to
wrap the output in a pay\-to\-script\-hash. wrap the output in a pay\-to\-script\-hash.
.IP .IP
outmultisig=VALUE:REQUIRED:PUBKEYS:PUBKEY1:PUBKEY2:....[:FLAGS] outmultisig=VALUE:REQUIRED:PUBKEYS:PUBKEY1:PUBKEY2:....[:FLAGS]
.IP .IP
Add Pay To n\-of\-m Multi\-sig output to TX. n = REQUIRED, m = PUBKEYS. Add Pay To n\-of\-m Multi\-sig output to TX. n = REQUIRED, m = PUBKEYS.
Optionally add the "W" flag to produce a Optionally add the "W" flag to produce a
pay\-to\-witness\-script\-hash output. Optionally add the "S" flag to pay\-to\-witness\-script\-hash output. Optionally add the "S" flag to
wrap the output in a pay\-to\-script\-hash. wrap the output in a pay\-to\-script\-hash.
.IP .IP
sign=SIGHASH\-FLAGS sign=SIGHASH\-FLAGS
.IP .IP
Add zero or more signatures to transaction. This command requires JSON Add zero or more signatures to transaction. This command requires JSON
registers:prevtxs=JSON object, privatekeys=JSON object. See registers:prevtxs=JSON object, privatekeys=JSON object. See
signrawtransaction docs for format of sighash flags, JSON signrawtransaction docs for format of sighash flags, JSON
objects. objects.
.PP .PP
Register Commands: Register Commands:
.IP .IP
load=NAME:FILENAME load=NAME:FILENAME
.IP .IP
Load JSON file FILENAME into register NAME Load JSON file FILENAME into register NAME
.IP .IP
set=NAME:JSON\-STRING set=NAME:JSON\-STRING
.IP .IP
Set register NAME to given JSON\-STRING Set register NAME to given JSON\-STRING
.SH COPYRIGHT .SH COPYRIGHT
Copyright (C) 2009-2017 The Bitcoin Core developers Copyright (C) 2009-2017 The Bitcoin Core developers
Copyright (C) 2011-2017 The FLO Core developers Copyright (C) 2011-2017 The FLO Core developers
Please contribute if you find FLO Core useful. Visit Please contribute if you find FLO Core useful. Visit
<https://flo.cash> for further information about the software. <https://flo.cash> for further information about the software.
The source code is available from <https://github.com/floblockchain/flo>. The source code is available from <https://github.com/floblockchain/flo>.
This is experimental software. This is experimental software.
Distributed under the MIT software license, see the accompanying file COPYING Distributed under the MIT software license, see the accompanying file COPYING
or <https://opensource.org/licenses/MIT> or <https://opensource.org/licenses/MIT>
This product includes software developed by the OpenSSL Project for use in the This product includes software developed by the OpenSSL Project for use in the
OpenSSL Toolkit <https://www.openssl.org> and cryptographic software written by OpenSSL Toolkit <https://www.openssl.org> and cryptographic software written by
Eric Young and UPnP software written by Thomas Bernard. Eric Young and UPnP software written by Thomas Bernard.

1082
doc/man/flod.1 Normal file → Executable file

File diff suppressed because it is too large Load Diff

0
doc/release-process.md Normal file → Executable file
View File

0
share/genbuild.sh Normal file → Executable file
View File

0
share/qt/extract_strings_qt.py Normal file → Executable file
View File

0
share/rpcuser/rpcuser.py Normal file → Executable file
View File

0
src/addrman.cpp Normal file → Executable file
View File

0
src/addrman.h Normal file → Executable file
View File

0
src/bench/data/block413567.raw Normal file → Executable file
View File

3
src/bloom.cpp Normal file → Executable file
View 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
View 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
View File

0
src/chainparamsseeds.h Normal file → Executable file
View File

0
src/leveldb/build_detect_platform Normal file → Executable file
View File

0
src/net.cpp Normal file → Executable file
View File

0
src/net_processing.cpp Normal file → Executable file
View File

0
src/policy/feerate.cpp Normal file → Executable file
View File

1
src/policy/fees.cpp Normal file → Executable file
View 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
View File

0
src/qt/forms/coincontroldialog.ui Normal file → Executable file
View File

0
src/qt/res/icons/bitcoin.ico Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 97 KiB

After

Width:  |  Height:  |  Size: 97 KiB

0
src/qt/res/icons/bitcoin.png Normal file → Executable file
View 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
View 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
View File

Before

Width:  |  Height:  |  Size: 92 KiB

After

Width:  |  Height:  |  Size: 92 KiB

0
src/qt/res/movies/makespinner.sh Normal file → Executable file
View File

0
src/qt/test/paymentrequestdata.h Normal file → Executable file
View File

2
src/rpc/blockchain.cpp Normal file → Executable file
View 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
View File

0
src/rpc/net.cpp Normal file → Executable file
View File

0
src/rpc/rawtransaction.cpp Normal file → Executable file
View File

0
src/rpc/server.cpp Normal file → Executable file
View File

0
src/secp256k1/autogen.sh Normal file → Executable file
View File

0
src/secp256k1/src/modules/recovery/main_impl.h Normal file → Executable file
View File

0
src/test/README.md Normal file → Executable file
View File

0
src/test/amount_tests.cpp Normal file → Executable file
View File

0
src/txdb.cpp Normal file → Executable file
View File

0
src/univalue/autogen.sh Normal file → Executable file
View File

2
src/validation.cpp Normal file → Executable file
View 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

0
test/functional/abandonconflict.py Normal file → Executable file
View File

0
test/functional/assumevalid.py Normal file → Executable file
View File

0
test/functional/bip65-cltv-p2p.py Normal file → Executable file
View File

0
test/functional/bip68-112-113-p2p.py Normal file → Executable file
View File

0
test/functional/bip68-sequence.py Normal file → Executable file
View File

0
test/functional/bip9-softforks.py Normal file → Executable file
View File

0
test/functional/bipdersig-p2p.py Normal file → Executable file
View File

0
test/functional/blockchain.py Normal file → Executable file
View File

Some files were not shown because too many files have changed in this diff Show More