Skip to content

Commit

Permalink
Updates to version v3.1.2-release
Browse files Browse the repository at this point in the history
  • Loading branch information
tjayrush committed Jul 18, 2024
1 parent ad070dc commit d03ccbf
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 16 deletions.
9 changes: 2 additions & 7 deletions content/api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ info:
license:
name: GPL 3.0
url: http://www.gnu.org/licenses/
version: 3.0.0-release
version: 3.1.2-release
description: >
A REST layer over the TrueBlocks chifra command line. With `chifra daemon`, you can
run this on your own machine, and make calls to `localhost`.
Expand Down Expand Up @@ -919,8 +919,7 @@ paths:
"name": "LibraToken",
"symbol": "LBA",
"source": "On chain",
"decimals": 18,
"petname": "actively-happy-mite"
"decimals": 18
},
{ "...": "..." }
]
Expand Down Expand Up @@ -3095,10 +3094,6 @@ components:
type: number
format: uint64
description: "number of decimals retrieved from an ERC20 smart contract, defaults to 18"
petname:
type: string
format: string
description: "the petname such as described here http://www.erights.org/elib/capability/pnml.html"
deleted:
type: boolean
format: boolean
Expand Down
13 changes: 5 additions & 8 deletions content/chifra/admin.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ Usage:
Arguments:
mode - either show or edit the configuration
One of [ show | edit ]
One of [ show | edit ]
Flags:
-a, --paths show the configuration paths for the system
Expand Down Expand Up @@ -85,7 +85,7 @@ Usage:
Arguments:
modes - the (optional) name of the binary cache to report on, terse otherwise
One or more of [ index | blooms | blocks | transactions | traces | logs | statements | results | state | tokens | monitors | names | abis | slurps | staging | unripe | maps | some | all ]
One or more of [ index | blooms | blocks | transactions | traces | logs | statements | results | state | tokens | monitors | names | abis | slurps | staging | unripe | maps | some | all ]
Flags:
-d, --diagnose same as the default but with additional diagnostics
Expand Down Expand Up @@ -122,10 +122,7 @@ are provided not only by the command line, but also the API server. We call this
In the future, this daemon may also manage other long-running processes such as `chifra scrape`
and `chifra monitors`, but for now, it's only managing the API server.

The `--grpc` option turns on a GRPC server that may speed up certain command such as `chifra names`,
although this option is experimental and therefore not recommended for production use.

If the default port for the API server is in use, you may change it with the `--port` option.
If the default port for the API server is in use, you may change it with the `--url` option.

To get help for any command, please see the API documentation on our website. But, you may
also run `chifra --help` or `chifra <cmd> --help` on your command line to get help.
Expand All @@ -146,7 +143,6 @@ Aliases:
Flags:
-u, --url string specify the API server's url and optionally its port (default "localhost:8080")
-g, --grpc run gRPC server to serve names
--silent disable logging (for use in SDK for example)
-v, --verbose enable verbose output
-h, --help display this help screen
Expand All @@ -155,6 +151,7 @@ Notes:
- To start API open terminal window and run chifra daemon.
- See the API documentation (https://trueblocks.io/api) for more information.
- The --port option is deprecated, use --url instead.
- The --grpc option is deprecated, there is no replacement.
```

Data models produced by this tool:
Expand Down Expand Up @@ -328,7 +325,7 @@ Usage:
Arguments:
mode - the type of data to process (required)
One of [ manifest | index | blooms | pins | addresses | appearances | stats ]
One of [ manifest | index | blooms | pins | addresses | appearances | stats ]
blocks - an optional list of blocks to intersect with chunk ranges
Flags:
Expand Down
1 change: 0 additions & 1 deletion content/data-model/accounts.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,6 @@ Names consist of the following fields:
| symbol | the symbol for this address (retrieved from on-chain data if available) | string |
| source | user supplied source of where this name was found (or on-chain if name is on-chain) | string |
| decimals | number of decimals retrieved from an ERC20 smart contract, defaults to 18 | uint64 |
| petname | the petname such as described here http://www.erights.org/elib/capability/pnml.html | string |
| deleted | `true` if deleted, `false` otherwise | bool |
| isCustom | `true` if the address is a custom address, `false` otherwise | bool |
| isPrefund | `true` if the address was one of the prefund addresses, `false` otherwise | bool |
Expand Down

0 comments on commit d03ccbf

Please sign in to comment.