Skip to content
This repository has been archived by the owner on Apr 15, 2019. It is now read-only.

Commit

Permalink
Merge branch 'release/2.1.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
shuse2 committed Jan 14, 2019
2 parents be05f9d + 1f15dfc commit 90fe631
Show file tree
Hide file tree
Showing 132 changed files with 9,783 additions and 10,416 deletions.
17 changes: 0 additions & 17 deletions .babelrc

This file was deleted.

2 changes: 0 additions & 2 deletions .eslintignore

This file was deleted.

4 changes: 0 additions & 4 deletions .eslintrc.json

This file was deleted.

2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
8.12.0
8.14.0
5 changes: 2 additions & 3 deletions .nycrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"require": ["babel-register"],
"sourceMap": false,
"instrument": false
"exclude": ["test/**", "**/*.d.ts"],
"extension": [".ts"]
}
8 changes: 1 addition & 7 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,8 @@ pipeline {
stages {
stage('Install dependencies') {
steps {
script {
cache_file = restoreCache("package.json")
}
nvm(getNodejsVersion()) {
sh 'npm install --verbose'
}
script {
saveCache(cache_file, './node_modules', 10)
sh 'npm ci'
}
}
}
Expand Down
29 changes: 0 additions & 29 deletions Jenkinsfile.nightly

This file was deleted.

36 changes: 0 additions & 36 deletions Jenkinsfile.private

This file was deleted.

64 changes: 64 additions & 0 deletions docs/delegate.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
Commands relating to Lisk delegates.

* [`lisk delegate:get USERNAMES`](#lisk-delegate-get-usernames)
* [`lisk delegate:voters USERNAMES`](#lisk-delegate-voters-usernames)
* [`lisk delegate:votes USERNAMES`](#lisk-delegate-votes-usernames)

## `lisk delegate:get USERNAMES`

Expand All @@ -28,3 +30,65 @@ EXAMPLES
delegate:get lightcurve
delegate:get lightcurve,4miners.net
```

## `delegate:voters USERNAMES`

Gets voters information for given delegate(s) from the blockchain.

```
USAGE
$ lisk delegate:voters USERNAMES
ARGUMENTS
USERNAMES Comma-separated username(s) to get information about.
OPTIONS
--limit Limits the returned voters array by specified integer amount. Maximum is 100.
--offset Offsets the returned voters array by specified integer amount.
--sort Sorts the returned voters array. Sort type must be one of `publicKey:asc`, `publicKey:desc`, `balance:asc`, `balance:desc`, `username:asc` or `username:desc`.
--[no-]pretty Prints JSON in pretty format rather than condensed. Has no effect if the output is set to table. You
can change the default behaviour in your config.json file.
DESCRIPTION
Gets voters information for given delegate(s) from the blockchain.
EXAMPLES
delegate:voters lightcurve
delegate:voters lightcurve,4miners.net
delegate:voters lightcurve,4miners.net --limit 20 --offset 5 --sort publicKey:asc --pretty
```

## `delegate:votes ADDRESSES`

Gets votes information for given delegate(s) from the blockchain.

```
USAGE
$ lisk delegate:votes ADDRESSES
ARGUMENTS
ADDRESSES Comma-separated address(es) to get information about.
OPTIONS
--limit Limits the returned voters array by specified integer amount. Maximum is 100.
--offset Offsets the returned voters array by specified integer amount.
--sort Sorts the returned voters array. Sort type must be one of `balance:asc`, `balance:desc`, `username:asc` or `username:desc`.
--[no-]pretty Prints JSON in pretty format rather than condensed. Has no effect if the output is set to table. You
can change the default behaviour in your config.json file.
DESCRIPTION
Gets voters information for given delegate(s) from the blockchain.
EXAMPLES
delegate:votes 13133549779353512613L
delegate:votes 13133549779353512613L,16010222169256538112L
delegate:votes 13133549779353512613L,16010222169256538112L --limit 20 --offset 5 --sort balance:asc --pretty
```
39 changes: 36 additions & 3 deletions docs/transaction.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,11 @@ ARGUMENTS
ADDRESS Address of the recipient.
OPTIONS
-d, --data=data
Optional UTF8 encoded data (maximum of 64 bytes) to include in the transaction asset.
Examples:
- --data=customInformation
-j, --[no-]json
Prints output in JSON format. You can change the default behaviour in your config.json file.
Expand Down Expand Up @@ -407,17 +412,45 @@ ARGUMENTS
IDS Comma-separated transaction ID(s) to get information about.
OPTIONS
-j, --[no-]json Prints output in JSON format. You can change the default behaviour in your config.json file.
-j, --[no-]json
Prints output in JSON format. You can change the default behaviour in your config.json file.
--[no-]pretty Prints JSON in pretty format rather than condensed. Has no effect if the output is set to table. You
can change the default behaviour in your config.json file.
-s, --state=unsigned|unprocessed
Get transactions based on a given state. Possible values for the state are 'unsigned' and 'unprocessed'.
Examples:
- --state=unsigned
- --state=unprocessed
--limit=limit
[default: 10] Limits the returned transactions array by specified integer amount. Maximum is 100.
--offset=offset
[default: 0] Offsets the returned transactions array by specified integer amount.
--[no-]pretty
Prints JSON in pretty format rather than condensed. Has no effect if the output is set to table. You can change the
default behaviour in your config.json file.
--sender-id=sender-id
Get transactions based by senderId which is sender's lisk address'.
Examples:
- --sender-id=12668885769632475474L
--sort=amount:asc|amount:desc|fee:asc|fee:desc|type:asc|type:desc|timestamp:asc|timestamp:desc
[default: timestamp:asc] Fields to sort results by.
DESCRIPTION
Gets transaction information from the blockchain.
EXAMPLES
transaction:get 10041151099734832021
transaction:get 10041151099734832021,1260076503909567890
transaction:get 10041151099734832021,1260076503909567890 --state=unprocessed
transaction:get 10041151099734832021 --state=unsigned --sender-id=1813095620424213569L
transaction:get --state=unsigned --sender-id=1813095620424213569L
transaction:get --sender-id=1813095620424213569L
transaction:get --limit=10 --sort=amount:desc
transaction:get --limit=10 --offset=5
```

## `lisk transaction:sign [TRANSACTION]`
Expand Down
Loading

0 comments on commit 90fe631

Please sign in to comment.