Documentation
¶
Overview ¶
Package spvwallet is a comprehensive non-custodial wallet for BSV digital currency.
Run: go run cmd/main.go
If you have any suggestions or comments, please feel free to open an issue on this GitHub repository!
By bitcoin-sv (https://github.com/bitcoin-sv)
Directories
¶
Path | Synopsis |
---|---|
Package main is the core service layer for the SPV Wallet
|
Package main is the core service layer for the SPV Wallet |
Package config provides a configuration for the API
|
Package config provides a configuration for the API |
Package dictionary is for our standardized error responses
|
Package dictionary is for our standardized error responses |
Package docs Code generated by swaggo/swag.
|
Package docs Code generated by swaggo/swag. |
Package engine is the Bitcoin UTXO & xPub Management Engine
|
Package engine is the Bitcoin UTXO & xPub Management Engine |
cluster
Package cluster is for clustering SPV Wallet Engine(s) or servers to work together for chainstate monitoring and other tasks
|
Package cluster is for clustering SPV Wallet Engine(s) or servers to work together for chainstate monitoring and other tasks |
datastore
Package datastore is the database service abstraction layer
|
Package datastore is the database service abstraction layer |
datastore/customtypes
Package customtypes encapsulates our custom database field types
|
Package customtypes encapsulates our custom database field types |
datastore/sqlite3extended
Package sqlite3extended is a workaround for disabled by default math functions in sqlite3 Unfortunately those math functions can be only enabled with build tag, Which means that we would need to force everyone, who is running any command like go build|run|test, to include also -tag "sqlite_math_functions" which looks like pretty big overhead and potential source of many registered issues just because someone overlooked that he needs to set this tag.
|
Package sqlite3extended is a workaround for disabled by default math functions in sqlite3 Unfortunately those math functions can be only enabled with build tag, Which means that we would need to force everyone, who is running any command like go build|run|test, to include also -tag "sqlite_math_functions" which looks like pretty big overhead and potential source of many registered issues just because someone overlooked that he needs to set this tag. |
metrics
Package metrics provides a way to track metrics in the application.
|
Package metrics provides a way to track metrics in the application. |
pike
Package pike provides functionality to work with Pay-to-PubKey-Hash (P2PKH) scripts in a blockchain context.
|
Package pike provides functionality to work with Pay-to-PubKey-Hash (P2PKH) scripts in a blockchain context. |
script/template
Package template provides a collection of functions and types for working with script templates.
|
Package template provides a collection of functions and types for working with script templates. |
taskmanager
Package taskmanager is the task/job management service layer for concurrent and asynchronous tasks with cron scheduling.
|
Package taskmanager is the task/job management service layer for concurrent and asynchronous tasks with cron scheduling. |
testabilities/testmode
Package testmode provides functions to set special modes for tests, allowing to use actual Postgres or SQLite file for testing, especially for development purposes.
|
Package testmode provides functions to set special modes for tests, allowing to use actual Postgres or SQLite file for testing, especially for development purposes. |
tester
Package tester is a generic testing package with helpful methods for all packages
|
Package tester is a generic testing package with helpful methods for all packages |
utils
Package utils is used for generic methods and values that are used across all packages
|
Package utils is used for generic methods and values that are used across all packages |
internal
|
|
Package mappings is a package that contains the mappings for the access keys package.
|
Package mappings is a package that contains the mappings for the access keys package. |
common
Package common is a package that contains common models & methods used by all other packages.
|
Package common is a package that contains common models & methods used by all other packages. |
models
module
|
|
Package server is for all the SPV Wallet settings and HTTP server
|
Package server is for all the SPV Wallet settings and HTTP server |
Package tests provides the base test suite for the entire package
|
Package tests provides the base test suite for the entire package |
Click to show internal directories.
Click to hide internal directories.