This allows both tspend and treasury policies to be set by clients on a per-ticket basis. Preferences can be set when initially registering a ticket with `/payfee`, and can be later updated using `/setvotechoices`. Any requests which alter treasury/tspend policy will be stored in the database using the existing accountability system. **Note:** This does not include consistency checking, it will need to be added later when dcrwallet has an RPC to retrieve policies in batches.
27 lines
842 B
Modula-2
27 lines
842 B
Modula-2
module github.com/decred/vspd
|
|
|
|
go 1.16
|
|
|
|
require (
|
|
decred.org/dcrwallet/v2 v2.0.0
|
|
github.com/decred/dcrd/blockchain/stake/v4 v4.0.0
|
|
github.com/decred/dcrd/blockchain/v4 v4.0.0
|
|
github.com/decred/dcrd/chaincfg/chainhash v1.0.3
|
|
github.com/decred/dcrd/chaincfg/v3 v3.1.1
|
|
github.com/decred/dcrd/dcrec/secp256k1/v4 v4.0.1
|
|
github.com/decred/dcrd/dcrutil/v4 v4.0.0
|
|
github.com/decred/dcrd/hdkeychain/v3 v3.1.0
|
|
github.com/decred/dcrd/rpc/jsonrpc/types/v3 v3.0.0
|
|
github.com/decred/dcrd/txscript/v4 v4.0.0
|
|
github.com/decred/dcrd/wire v1.5.0
|
|
github.com/decred/slog v1.2.0
|
|
github.com/dustin/go-humanize v1.0.0
|
|
github.com/gin-gonic/gin v1.7.7
|
|
github.com/gorilla/sessions v1.2.1
|
|
github.com/jessevdk/go-flags v1.5.0
|
|
github.com/jrick/bitset v1.0.0
|
|
github.com/jrick/logrotate v1.0.0
|
|
github.com/jrick/wsrpc/v2 v2.3.4
|
|
go.etcd.io/bbolt v1.3.6
|
|
)
|