implement hard mode

seems to work OK.  Could be sped up by local filters instead of
ingesting every tx from the block but I can do that later if
performance (mostly disk i/o) is an issue

once multiple connections are implemented, hard mode should forward
txs to blend in.
This commit is contained in:
Tadge Dryja committed 2016-02-06 22:48:54 -08:00
1 parent 8518be13f7
commit 4535b965cd
5 files changed
+94 -49

No files matched your search

+1 -1
View File
@@ -51,7 +51,7 @@ func shell() {
// setup spvCon
SCon, err = uspv.OpenSPV(
SPVHostAdr, headerFileName, dbFileName, &Store, Params)
SPVHostAdr, headerFileName, dbFileName, &Store, true, Params)
if err != nil {
log.Fatal(err)
}