Commit Graph

15 Commits

Author SHA1 Message Date
Aaron Campbell
03678bb754 multi: Correct typos.
Correct typos found by reading code and creative grepping.
2019-08-16 17:37:58 -05:00
zhizhongzhiwai
6739ac7697 sampleconfig: Fix proxy typo. 2018-11-07 01:33:24 -06:00
hypernoob
029fc17e9c docs: Correct blockmaxsize and blockprioritysize. 2018-07-07 00:15:45 -05:00
qshuai
f99fd6cb4f config: Fix typo 2018-06-09 15:20:44 -05:00
Dave Collins
7a457fc9c3
policy: Lower default relay fee to 0.0001/kB.
This lowers the default minimum relay fee to 0.0001 DCR/Kb from its
previous value of 0.001 DCR/Kb and increases the high fee multiplier to
keep the same default high fee threshold of 1 DCR/kB.

In order to keep the comments accurate, it also updates the comments in
the isDust function and the sample config file to match the new default
relay fee as it's nice to have the most recent values as a reference in
the comments.

Finally, it updates the tests for the expected new values as a result of
the reduced default relay fee and adds add a couple of dust tests just
below and above the dust point for the new reduced default relay fee.

It should be noted that this is only a default node policy change and as
such does not affect the consensus rules in any way.
2018-05-26 09:45:38 -05:00
David Hill
5a4f367b66 multi: Remove everything to do about bloom filters. 2018-05-01 11:43:32 -05:00
Dave Collins
74d130057a
multi: Rename BIP0111Version to NodeBloomVersion.
This renames the BIP0111Version constant to NodeBloomVersion to better
describe its purpose.
2018-03-02 22:29:14 -06:00
Josh Rickmar
c6f9474348 Expand ~ to correct home directory on all OSes.
This fixes the behavior of expanding ~ on Windows and macOS, as well
as adding support for ~otheruser to expand to the home directory of
otheruser.

Modify the default sample config to reflect the change in the meaning
of ~ on Windows, and the unintended meaning of ~ on macOS.  Include
defaults for all 3 of the major operating system classes since
uncommenting the default Unix option on macOS or Windows would change
the blockchain data directory to a non-default location.
2018-02-22 20:35:44 -06:00
Dave Collins
7e2a6932e1
sampleconfig: Correct comment. 2018-02-21 10:02:44 -06:00
David Hill
5fc31ca578 multi: fix misspell linter warnings 2018-02-18 12:26:52 -06:00
Donald Adu-Poku
e48b9ab823 mempool: Rename RelayNonStd config option.
This renames the mempool.Config.RelayNonStd option to AcceptNonStd which
more accurately describes its behavior since the mempool was refactored
into a separate package.

The reasoning for this change is that the mempool is not responsible for
relaying transactions (nor should it be).  Its job is to maintain a pool
of unmined transactions that are validated according to consensus and
policy configuration options which are then used to provide a source of
transactions that need to be mined.

Instead, it is the server that is responsible for relaying transactions.
While it is true that the current server code currently only relays txns
that were accepted to the mempool, this does not necessarily have to
be the case.  It would be entirely possible (and perhaps even a good
idea as something do in the future), to separate the relay policy from
the mempool acceptance policy (and thus indirectly the mining policy).
2018-02-14 15:55:22 +00:00
Dave Collins
97c4b6b096
sampleconfig: Update min relay fee.
This updates the minimum relay fee in the sample config file to match
the actual default.  Note that it's commented anyways, so this does not
result in any logical change.  However, the file aims to have the
defaults commented out by default, so it makes sense to update the
value accordingly.
2018-01-06 19:26:50 -06:00
Jason Zavaglia
509eed37fb extend --profile cmd line option to allow interface to be specified
Closes #691
2017-09-09 15:26:37 +10:00
Dave Collins
f0a01ced0a
sampleconfig: Add package README and doc.go.
This adds a readme and doc.go for the sampleconfig package so it is
consistent with all of the other packages.

While here, it also changes the exported value to a constant and removes
the unused sampleConfigFilename constant.
2017-08-25 12:35:11 -05:00
jolan
d18bca456e config: export sampleconfig for use by dcrinstall 2017-08-25 10:32:26 -05:00