Difference between revisions of "HowTo run SPV"

From Veriblock Wiki
Jump to: navigation, search
 
(6 intermediate revisions by 2 users not shown)
Line 7: Line 7:
 
Post vProgPoW, run this beta wallet:
 
Post vProgPoW, run this beta wallet:
  
DOWNLOAD: https://mirror.veriblock.org/veriblock-spv-0.4.11.zip
+
DOWNLOAD latest: https://explore.veriblock.org/api/stats/download, "nodecore_spv".
 +
 
 +
See other wallets here: https://www.veriblock.org/#wallet
  
 
Run veriblock-spv.bat
 
Run veriblock-spv.bat
  
 
Tested on OpenJDK 8, 11, 14, for Windows and Ubuntu Linux
 
Tested on OpenJDK 8, 11, 14, for Windows and Ubuntu Linux
 +
 +
https://openjdk.java.net/projects/jdk/
 +
  
 
[[File:Spv download 2.png|800px]]
 
[[File:Spv download 2.png|800px]]
Line 17: Line 22:
 
== Source Code ==
 
== Source Code ==
  
Github: https://github.com/VeriBlock/nodecore/tree/develop/nodecore-spv
+
Github: https://github.com/VeriBlock/nodecore/tree/master/nodecore-spv
  
 
== Commands ==
 
== Commands ==

Latest revision as of 18:16, 6 December 2021

Overview

NodeCore SPV (Simple Payment Verification) is a light wallet that allows a user to see their balance and send VBK without downloading, syncing, and running a full node.

Post vProgPoW, run this beta wallet:

DOWNLOAD latest: https://explore.veriblock.org/api/stats/download, "nodecore_spv".

See other wallets here: https://www.veriblock.org/#wallet

Run veriblock-spv.bat

Tested on OpenJDK 8, 11, 14, for Windows and Ubuntu Linux

https://openjdk.java.net/projects/jdk/


Spv download 2.png

Source Code

Github: https://github.com/VeriBlock/nodecore/tree/master/nodecore-spv

Commands

SPV has a subset of commands: https://wiki.veriblock.org/index.php/NodeCore_CommandLine

help
Commands:
    clear
    quit|leave|close|exit
    help|?|/?|h|/h|h?|showcommands
    getbalance|getbal|bal
    getstateinfo|stateinfo|state|getstate
    send|sendtoaddress|sendtoaddr
    lockwallet
    unlockwallet
    decryptwallet
    encryptwallet
    importwallet
    backupwallet
    getnewaddress

Configuration

File: application.conf

# Default Configuration of VeriBlock SPV
spv {
  # Blockchain network to connect to (mainnet | testnet | alphanet)
  network: mainnet
  # Data directory
  dataDir: "."
  # Uncomment if you want SPV to connect to a local node
  #connectDirectlyTo: [localhost]
  # Uncomment if you want SPV to connect to 3 arbitrary nodes/ports
  #connectDirectlyTo: [host1:1111,host1:2222,host1:3333]
  # Trust the block hashes from the peers (fast sync) or compute them locally (slow sync)
  trustPeerHashes: false
}

Appendix

Known Issues

SPV does not show locked coins (from MainNet launch). If you have a locked-coin balance, SPV will still show as zero.

Running importwallet may take a few minutes to sync the new wallet.