No description
Find a file
Tzu-Jung Lee a5627ecfcc claimnode: Add the example on the whitepaper as a testcase.
Note: all the test cases will be reworked to a more compact form.
2018-07-11 12:40:13 -07:00
claim cleanup: refactor, bugfix, and comment. 2018-07-11 01:22:18 -07:00
claimnode claimnode: Add the example on the whitepaper as a testcase. 2018-07-11 12:40:13 -07:00
cmd/claimtrie cleanup: refactor, bugfix, and comment. 2018-07-11 01:22:18 -07:00
memento cleanup: refactor, bugfix, and comment. 2018-07-11 01:22:18 -07:00
trie trie: update merkle hash when stage is commited 2018-07-11 09:54:41 -07:00
claimtrie.go cleanup: refactor, bugfix, and comment. 2018-07-11 01:22:18 -07:00
claimtrie_test.go cleanup: reorg the code for dependencies. 2018-07-09 10:48:33 -07:00
error.go initial import 2018-07-03 14:56:10 -07:00
README.md cleanup: reorg the code for dependencies. 2018-07-09 10:48:33 -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)