docs: address comments & other updates

This commit is contained in:
Zach Ramsay
2017-08-29 17:13:34 -04:00
parent 49665dd492
commit 15a7fa2eac
7 changed files with 29 additions and 30 deletions
+6 -6
View File
@@ -79,7 +79,7 @@ both use the same library of commands, including one for signing and
broadcasting `SendTx`.
Counter transactions take two custom inputs, a boolean argument named `valid`,
and a coin amount named `countfee`. The transaction is only accepted if both
and a coin amount named `countfee`. The transaction is only accepted if both
`valid` is set to true and the transaction input coins is greater than
`countfee` that the user provides.
@@ -126,11 +126,11 @@ them. Of course, we can also expose queries on our plugin:
countercli query counter
```
Tada! We can now see that our custom counter plugin tx went through. You
should see a Counter value of 1 representing the number of valid transactions.
If we send another transaction, and then query again, we will see the value
increment. Note that we need the sequence number here to send the coins
(it didn't increment when we just pinged the counter)
Tada! We can now see that our custom counter plugin transactions went through.
You should see a Counter value of 1 representing the number of valid
transactions. If we send another transaction, and then query again, we will
see the value increment. Note that we need the sequence number here to send the
coins (it didn't increment when we just pinged the counter)
```shelldown[4]
countercli tx counter --name cool --countfee=2mycoin --sequence=2 --valid
+4 -5
View File
@@ -4,14 +4,14 @@ If you aren't used to compile go programs and just want the released
version of the code, please head to our [downloads](https://tendermint.com/download)
page to get a pre-compiled binary for your platform.
On a good day, basecoin can be installed like a normal Go program:
Usually, Cosmos SDK can be installed like a normal Go program:
```
go get -u github.com/tendermint/basecoin/cmd/...
go get -u github.com/cosmos/cosmos-sdk/cmd/...
```
In some cases, if that fails, or if another branch is required,
we use `glide` for dependency management.
If the dependencies have been updated with breaking changes,
or if another branch is required, `glide` is used for dependency management.
Thus, assuming you've already run `go get` or otherwise cloned the repo,
the correct way to install is:
@@ -30,4 +30,3 @@ If you need another branch, make sure to run `git checkout <branch>`
before `make all`. And if you switch branches a lot, especially
touching other tendermint repos, you may need to `make fresh` sometimes
so glide doesn't get confused with all the branches and versions lying around.