Go to file
2018-07-08 22:12:57 -07:00
cmd/claimtrie fix Bidding logics, and port some tests cases from lbrycrd 2018-07-08 22:12:57 -07:00
memento fix Bidding logics, and port some tests cases from lbrycrd 2018-07-08 22:12:57 -07:00
claim.go fix Bidding logics, and port some tests cases from lbrycrd 2018-07-08 22:12:57 -07:00
claimid.go fix Bidding logics, and port some tests cases from lbrycrd 2018-07-08 22:12:57 -07:00
claimtrie.go fix Bidding logics, and port some tests cases from lbrycrd 2018-07-08 22:12:57 -07:00
claimtrie_test.go fix Bidding logics, and port some tests cases from lbrycrd 2018-07-08 22:12:57 -07:00
error.go initial import 2018-07-03 14:56:10 -07:00
memento.go fix Bidding logics, and port some tests cases from lbrycrd 2018-07-08 22:12:57 -07:00
node.go fix Bidding logics, and port some tests cases from lbrycrd 2018-07-08 22:12:57 -07:00
node_test.go fix Bidding logics, and port some tests cases from lbrycrd 2018-07-08 22:12:57 -07:00
README.md fix Bidding logics, and port some tests cases from lbrycrd 2018-07-08 22:12:57 -07:00

ClaimTrie

coming soon

Installation

coming soon

Usage

coming soon

Running from Source

This project requires Go v1.10 or higher.

go get -u -v github.com/lbryio/claimtrie

Examples

Refer to claimtrie for an interactive CLI tool.

NAME:
   claimtrie - A CLI tool for ClaimTrie

USAGE:
   main [global options] command [command options] [arguments...]

VERSION:
   0.0.1

COMMANDS:
     add-claim, ac      Claim a name with specified amount. (outPoint is generated randomly, if unspecified)
     add-support, as    Add support to a specified Claim. (outPoint is generated randomly, if unspecified)
     spend-claim, sc    Spend a specified Claim.
     spend-support, ss  Spend a specified Support.
     show, s            Show the Key-Value pairs of the Stage or specified commit. (links nodes are showed if -a is also specified)
     merkle, m          Show the Merkle Hash of the Stage.
     commit, c          Commit the current Stage to commit database.
     reset, r           Reset the Stage to a specified commit.
     log, l             List the commits in the coommit database.
     shell, sh          Enter interactive mode
     help, h            Shows a list of commands or help for one command

GLOBAL OPTIONS:
   --help, -h     show help
   --version, -v  print the version

Testing

go test -v github.com/lbryio/claimtrie
gocov test -v github.com/lbryio/claimtrie 1>/dev/null

Contributing

coming soon

License

This project is MIT licensed.

Security

We take security seriously. Please contact security@lbry.io regarding any security issues. Our PGP key is here if you need it.

Contact

The primary contact for this project is @roylee17 (roylee@lbry.io)