Difference between revisions of "HowTo Setup vBFI"

From Veriblock Wiki
Jump to: navigation, search
(Created page with "See: Main_Page __TOC__ == Background == vBFI provides the equivalent number of bitcoin confirmations that a VeriBlock block has. == How to set up == # Run a full no...")
 
Line 36: Line 36:
 
# Enable BFI
 
# Enable BFI
 
bfi.enabled=true
 
bfi.enabled=true
<pre>
+
</pre>
  
  
Line 50: Line 50:
 
...
 
...
 
</pre>
 
</pre>
 
 
  
 
== Useful links ==
 
== Useful links ==

Revision as of 20:42, 29 November 2021

See: Main_Page

Background

vBFI provides the equivalent number of bitcoin confirmations that a VeriBlock block has.


How to set up

  1. Run a full nodecore instance: NodeCore_QuickStart
  2. Open up port 4567 for bfi
  3. Add file bfi.conf
  4. In nodecore.properties, set bfi.enabled=true

If you run getdiagnosticinfo, you will see this flag enabled.

bfi.conf

bfi {
    blockChainNetwork = mainnet
    nodeCoreRpcHost = "127.0.0.1:10500"
    httpApiBindPort = 4567
    httpApiNotificationsTest = true
    forkThreatThreshold = 2
    forkThreatRatioThreshold = 0.8
}

nodecore.properties

# Enable BFI
bfi.enabled=true


Get results

This is available per transaction via the bitcoinConfirmations field:

gettransactions 2AB3811FD0EDE3B3F89A50926B15AA4C0C2370A4467E6670635A19E5A1CD3AF3 5000

...
"bitcoinConfirmations": 4,
...

Useful links