Always stem local txs if configured that way (unless explicitly fluffed) (#2876)

* always stem local txs if configured that way (unless explicitly fluff from wallet)
this overrides current epoch behavior for txs coming in via "push-api"
rename "local" to "our" txs

* TxSource is now an enum for type safety.
This commit is contained in:
Antioch Peverell
2019-07-04 11:56:42 +01:00
committed by GitHub
parent 82775164e8
commit f4eb3e3d4b
10 changed files with 86 additions and 75 deletions
+8
View File
@@ -210,6 +210,14 @@ fn comments() -> HashMap<String, String> {
.to_string(),
);
retval.insert(
"always_stem_our_txs".to_string(),
"
#always stem our (pushed via api) txs regardless of stem/fluff epoch (as per Dandelion++ paper)
"
.to_string(),
);
retval.insert(
"[server.p2p_config]".to_string(),
"#test miner wallet URL (burns if this doesn't exist)