README.md in nanook-3.0.1 vs README.md in nanook-3.1.0
- old
+ new
@@ -122,15 +122,15 @@
Read the [Using Nanook](https://github.com/lukes/nanook/wiki/Using-nanook) page for some example uses of Nanook to query the network.
## All commands
-Below is a quick reference list of commands. See the [full Nanook documentation](https://lukes.github.io/nanook/3.0.1/) for a searchable detailed description of every class and method, what the arguments mean, and example responses.
+Below is a quick reference list of commands. See the [full Nanook documentation](https://lukes.github.io/nanook/3.1.0/) for a searchable detailed description of every class and method, what the arguments mean, and example responses.
### Wallets
-See the [full documentation for Nanook::Wallet](https://lukes.github.io/nanook/3.0.1/Nanook/Wallet.html) for a detailed description of each method and example responses.
+See the [full documentation for Nanook::Wallet](https://lukes.github.io/nanook/3.1.0/Nanook/Wallet.html) for a detailed description of each method and example responses.
#### Create wallet:
```ruby
nanook.wallet.create
@@ -210,11 +210,11 @@
```ruby
account = nanook.account(account_id)
```
-See the [full documentation for Nanook::Account](https://lukes.github.io/nanook/3.0.1/Nanook/Account.html) for a detailed description of each method and example responses.
+See the [full documentation for Nanook::Account](https://lukes.github.io/nanook/3.1.0/Nanook/Account.html) for a detailed description of each method and example responses.
```ruby
account.balance
account.balance(unit: :raw)
account.pending
@@ -258,11 +258,11 @@
account = wallet.account(account_id)
```
As well as the following methods, all methods of [regular accounts](#working-with-any-account) can also be called.
-See the [full documentation for Nanook::WalletAccount](https://lukes.github.io/nanook/3.0.1/Nanook/WalletAccount.html) for a detailed description of each method and example responses.
+See the [full documentation for Nanook::WalletAccount](https://lukes.github.io/nanook/3.1.0/Nanook/WalletAccount.html) for a detailed description of each method and example responses.
```ruby
account.pay(to: recipient_account_id, amount: 2, id: unique_id)
account.pay(to: recipient_account_id, amount: 2, id: unique_id, unit: :raw)
account.receive
@@ -273,46 +273,46 @@
account.destroy
```
### Blocks
-See the [full documentation for Nanook::Block](https://lukes.github.io/nanook/3.0.1/Nanook/Block.html) for a detailed description of each method and example responses.
+See the [full documentation for Nanook::Block](https://lukes.github.io/nanook/3.1.0/Nanook/Block.html) for a detailed description of each method and example responses.
```ruby
block = nanook.block(block_id)
block.account
block.amount
block.amount(unit: :raw)
+block.ancestors
+block.ancestors(limit: 10)
+block.ancestors(offset: 10)
block.balance
block.change?
block.checked?
+block.confirm
+block.descendants
+block.descendants(limit: 10)
+block.descendants(offset: 10)
block.epoch?
block.exists?
block.exists?(allow_unchecked: true)
block.height
block.info # Verified blocks in the ledger
block.info(allow_unchecked: true) # Verified blocks AND unchecked synchronizing blocks
block.info(unit: :raw)
-block.account
-block.chain
-block.chain(limit: 10)
-block.chain(offset: 10)
-block.confirm
-block.republish
-block.republish(sources: 2)
-block.republish(destinations: 2)
+block.next
block.open?
block.pending?
block.previous
block.receive?
block.representative
+block.republish
+block.republish(sources: 2)
+block.republish(destinations: 2)
block.send?
block.signature
-block.successors
-block.successors(limit: 10)
-block.successors(offset: 10)
block.timestamp
block.type
block.unchecked?
block.work
@@ -322,10 +322,10 @@
block.valid_work?(work)
```
### Managing your nano node
-See the [full documentation for Nanook::Node](https://lukes.github.io/nanook/3.0.1/Nanook/Node.html) for a detailed description of each method and example responses.
+See the [full documentation for Nanook::Node](https://lukes.github.io/nanook/3.1.0/Nanook/Node.html) for a detailed description of each method and example responses.
```ruby
node = nanook.node
node.account_count