HowTo run SPV
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/
Source Code
Github: https://github.com/VeriBlock/nodecore/tree/develop/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.