Skip to content

Commit

Permalink
Updated libgomp/zlib1g-dev solution and updated CLI command list
Browse files Browse the repository at this point in the history
  • Loading branch information
Oink70 committed Dec 1, 2021
1 parent bbba02a commit aead86f
Show file tree
Hide file tree
Showing 4 changed files with 60 additions and 26 deletions.
7 changes: 4 additions & 3 deletions faq-arm/armfaq-01_libgomp.so.1.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
# error while loading shared libraries: libgomp.so.1: No such file or directory
# error while loading shared libraries: libz.so: No such file or directory

When running `./verusd` on an ARM64 ubuntu 18, not all dependencies may be installed on default, resulting in the errormessage `error while loading shared libraries: libgomp.so.1: No such file or directory` or `error while loading shared libraries: libz.so: No such file or directory`.
When running `./verusd` on a Linux distro (eg Debian or Devuan), not all dependencies may be installed by default, resulting in the errormessage `error while loading shared libraries: libgomp.so.1: No such file or directory` or `error while loading shared libraries: libz.so: No such file or directory`.

To solve this you need to install the libgomp and zlib1g-dev libraries:
`sudo apt-get install libgomp1 zlib1g-dev`

Solution supplied by: _PureHate.vrsc@ & HobowithanOatbun@
Solution supplied by: Oink.vrsc@

Note: creation date 2021-02-05.
Note: revision date 2021-12-01.
60 changes: 46 additions & 14 deletions faq-cli/clifaq-02_verus_commands.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## Important General Information

### Verus CLI version 0.9.0
### Verus CLI version 0.9.0-2

Usage: `verus [command]` Issue a command to the coindaemon

Expand Down Expand Up @@ -541,7 +541,7 @@ Examples:
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getchaintips", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:27486/
```

### `getchaintxstats` ***`NEW`***
### `getchaintxstats`

Compute statistics about the total number and rate of transactions in the chain.

Expand Down Expand Up @@ -1286,6 +1286,38 @@ transactionid (hexstr)
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "revokeidentity", "params": ["nameorID"] }' -H 'content-type: text/plain;' http://127.0.0.1:27486/
```

### `setidentitytimelock "id@" '{"unlockatblock":absoluteblockheight || "setunlockdelay":numberofblocksdelayafterunlock}' (returntx)` ***`NEW`***
Enables timelocking and unlocking of funds access for an on-chain VerusID. This does not affect the lock status of VerusIDs on other chains,
including VerusIDs with the same identity as this one, which has been exported to another chain.

Use "setunlockdelay" to set a time unlock delay on an identity, which means that once the identity has been unlocked,
numberofblocksdelayafterunlock must then pass before the identity will be able to spend funds on this blockchain. Services
which support VerusID authentication and recognize this setting may also choose to prevent funds transfers when an ID is locked.

Use "unlockatblock" to either unlock, by passing the current block, which will still require waiting for the specified unlock
delay, or to set a future unlock height that immediately begins counting down. Unlike an unlock delay, which only starts counting
down when the ID is unlocked, an "unlockatblock" time lock is absolute and will automatically unlock when the specified
block passes.

#### Arguments - either "unlockatblock" or "setunlockdelay" must be specified and not both
```json
{
"unlockatblock" (number, optional) unlock at an absolute block height, countdown starts when mined into a block
"setunlockdelay" (number, optional) delay this many blocks after unlock request to unlock, can only be
circumvented by revoke/recover
}
```
#### Result:
Hex string of either the txid if returnhex is false or the hex serialized transaction if returntx is true.
If returntx is true, the transaction will not have been submitted and must be sent with "sendrawtransaction"
after any necessary signatures are applied in the case of multisig.

Examples:
```bash
> verus setidentitytimelock "id@" '{"unlockatblock":absoluteblockheight || "setunlockdelay":numberofblocksdelayafterunlock}' (returntx)
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "setidentitytimelock", "params": ["id@" '{"unlockatblock":absoluteblockheight || "setunlockdelay":numberofblocksdelayafterunlock}' (returntx)] }' -H 'content-type: text/plain;' http://127.0.0.1:27486/
```

### `signfile "address or identity" "filepath/filename" "curentsig"`
Generates a SHA256D hash of the file, returns the hash, and signs the hash with the private key specified

Expand Down Expand Up @@ -1941,7 +1973,7 @@ Examples:
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getcurrency", "params": ["chainname"] }' -H 'content-type: text/plain;' http://127.0.0.1:27486/
```

### getcurrencyconverters ["currency1","currency2",...]' ***`NEW`***
### `getcurrencyconverters ["currency1","currency2",...]`
Retrieves all currencies that have at least 1000 VRSC in reserve, are >10% VRSC reserve ratio, and have all listed currencies as reserves

#### Arguments:
Expand Down Expand Up @@ -1990,7 +2022,7 @@ Examples:
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getcurrencystate", "params": [name] }' -H 'content-type: text/plain;' http://127.0.0.1:27486/
```

### `getexports "chainname" (heightstart) (heightend)` ***`UPDATED`***
### `getexports "chainname" (heightstart) (heightend)`
Returns pending export transfers to the specified currency from start height to end height if specified

###$ Arguments:
Expand Down Expand Up @@ -2046,7 +2078,7 @@ Examples:
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getexports", "params": ["chainname"] }' -H 'content-type: text/plain;' http://127.0.0.1:27486/
```

### `getimports "chainname" (startheight) (endheight)` ***`UPDATED`***
### `getimports "chainname" (startheight) (endheight)`
Returns all imports into a specific currency, optionally that were imported between a specific block range.
#### Arguments:
```
Expand Down Expand Up @@ -2145,7 +2177,7 @@ Examples:
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getinitialcurrencystate", "params": [name] }' -H 'content-type: text/plain;' http://127.0.0.1:27486/
```

### `getlastimportfrom "systemname"`***`UPDATED`***
### `getlastimportfrom "systemname"`
Returns the last import from a specific originating system.

#### Arguments:
Expand All @@ -2169,7 +2201,7 @@ Examples:
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getlastimportfrom", "params": "systemname" }' -H 'content-type: text/plain;' http://127.0.0.1:27486/
```

### `getlaunchinfo "currencyid"` ***`NEW COMMAND`***
### `getlaunchinfo "currencyid"`
Returns the launch notarization data and partial transaction proof of the launch notarization for the specifed currencyid.

#### Arguments:
Expand All @@ -2193,7 +2225,7 @@ Examples:
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getlaunchinfo", "params": ["currencyid"] }' -H 'content-type: text/plain;' http://127.0.0.1:27486/
```

### `getblocktemplate ( "jsonrequestobject" )` ***`UPDATED`***
### `getblocktemplate ( "jsonrequestobject" )`
If the request parameters include a 'mode' key, that is used to explicitly select between the default 'template' request or a 'proposal'.
It returns data needed to construct a block to work on.
See https://en.bitcoin.it/wiki/BIP_0022 for full specification.
Expand Down Expand Up @@ -2255,7 +2287,7 @@ Examples:
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getblocktemplate", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:27486/
```

### `getnotarizationdata "currencyid"` ***`UPDATED`***
### `getnotarizationdata "currencyid"`
Returns the latest PBaaS notarization data for the specifed currencyid.

Arguments
Expand Down Expand Up @@ -2291,7 +2323,7 @@ Examples:
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getpendingtransfers", "params": ["chainname"] }' -H 'content-type: text/plain;' http://127.0.0.1:27486/
```

### `getreservedeposits "currencyname"` ***`NEW COMMAND`***
### `getreservedeposits "currencyname"`
Returns all deposits under control of the specified currency or chain. If the currency is of an external system
or chain, all deposits will be under the control of that system or chain only, not its independent currencies.

Expand Down Expand Up @@ -2334,7 +2366,7 @@ Examples:
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getsaplingtree", "params": [name] }' -H 'content-type: text/plain;' http://127.0.0.1:27486/
```

### `listcurrencies ({query object}) startblock endblock` ***`UPDATED`***
### `listcurrencies ({query object}) startblock endblock`
Returns a complete definition for any given chain if it is registered on the blockchain. If the chain requested is NULL, chain definition of the current chain is returned.

#### Arguments:
Expand Down Expand Up @@ -2393,7 +2425,7 @@ Examples:
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "refundfailedlaunch", "params": ["currencyid"] }' -H 'content-type: text/plain;' http://127.0.0.1:27486/
```

### `sendcurrency "fromaddress" '[{"address":... ,"amount":...},...]' (feeamount)` ***`UPDATED`***
### `sendcurrency "fromaddress" '[{"address":... ,"amount":...},...]' (feeamount)`
This sends one or many Verus outputs to one or many addresses on the same or another chain.
Funds are sourced automatically from the current wallet, which must be present, as in sendtoaddress.
If "fromaddress" is specified, all funds will be taken from that address, otherwise funds may come from any source set of UTXOs controlled by the wallet.
Expand Down Expand Up @@ -2433,7 +2465,7 @@ Examples:
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "sendcurrency", "params": ["bob@" '[{"currency":"btc", "address":"alice@quad", "amount":500.0},...]'] }' -H 'content-type: text/plain;' http://127.0.0.1:27486/
```

### `submitacceptednotarization "{earnednotarization}" "{notaryevidence}"` ***`UPDATED`***
### `submitacceptednotarization "{earnednotarization}" "{notaryevidence}"`
Finishes an almost complete notarization transaction based on the notary chain and the current wallet or pubkey.

If successful in submitting the transaction based on all rules, a transaction ID is returned, otherwise, NULL.
Expand All @@ -2453,7 +2485,7 @@ Examples:

### `submitimports '{"sourcesystemid":"systemid", "notarizationtxid":"txid", "notarizationtxoutnum":n,
"exports":[{"txid":"hexid", "txoutnum":n, "partialtransactionproof":"hexstr",
"transfers": [{transfer1}, {transfer2},...]}, ...]}'` ***`NEW COMMAND`***
"transfers": [{transfer1}, {transfer2},...]}, ...]}'`
Accepts a set of exports from another system to post to the VRSC network.

#### Arguments:
Expand Down
11 changes: 6 additions & 5 deletions faq-linux/faq-lin09_libgomp.so.1.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
# error while loading shared libraries: libgomp.so.1: No such file or directory
# error while loading shared libraries: libz.so: No such file or directory

When running `./verusd` on a Linux distro (eg Debian or Devuan), not all dependencies may be installed by default, resulting in the errormessage `error while loading shared libraries: libgomp.so.1: No such file or directory`.
When running `./verusd` on a Linux distro (eg Debian or Devuan), not all dependencies may be installed by default, resulting in the errormessage `error while loading shared libraries: libgomp.so.1: No such file or directory` or `error while loading shared libraries: libz.so: No such file or directory`.

To solve this you need to install the libgomp library:
`sudo apt-get install libgomp1`
To solve this you need to install the libgomp and zlib1g-dev libraries:
`sudo apt-get install libgomp1 zlib1g-dev`

Solution supplied by: 0x03.vrsc@
Solution supplied by: Oink.vrsc@

Note: creation date 2020-02-12.
Note: revision date 2021-12-01.
8 changes: 4 additions & 4 deletions index.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ If you have any questions about the information here, need help or have suggesti
[Compile Monkins Verus enhanced CCMiner for various hardware](#!faq-linux/faq-lin06_compile_ccminer.md)
[PHP staking interface for coinshielding nodes](#!faq-linux/faq-lin07_PHP_CLI_interface.md)
[Low priority pool-mining](#!faq-linux/faq-lin08_low_priority_mining.html.md)
[error while loading shared libraries: libgomp.so.1](#!faq-linux/faq-lin09_libgomp.so.1.md)
[error while loading shared libraries: libgomp.so.1 and/or zlib1g-dev](#!faq-linux/faq-lin09_libgomp.so.1.md) ***`updated`***
[Standard locations for Verus Desktop installations](#!faq-linux/faq-lin10_verus_desktop_locations.md)

## Frequently Asked Questions (MacOS specific)
Expand All @@ -81,16 +81,16 @@ If you have any questions about the information here, need help or have suggesti

## Frequently Asked Questions (ARM specific)
**[Updating CLI wallet](#!faq-arm/armfaq-03_updating.md)**
[Hardware and software requirements](#!faq-arm/armfaq-02_requirements.md) ***`UPDATED`***
[Hardware and software requirements](#!faq-arm/armfaq-02_requirements.md)
[error while loading shared libraries: libgomp.so.1 and/or libz.so](#!faq-arm/armfaq-01_libgomp.so.1.md)

## CLI wallet specific Information
[Verusd options list](#!faq-cli/clifaq-01_verusd_options.md) ***`UPDATED`***
[Verusd options list](#!faq-cli/clifaq-01_verusd_options.md)
[Verus command list](#!faq-cli/clifaq-02_verus_commands.md) ***`UPDATED`***
[Remarks on Windows command line formatting](#!faq-windows/winfaq-01_cli_formatting.md)

## Q&A Archive
[Q&A questions channel Verus-WhiteBIT 2020-07-28](#!q-a/veruscoin-q-a-questions-20200728.html)
[Q&A reward channel Verus-WhiteBIT 2020-07-28](#!q-a/veruscoin-q-a-reward-20200728.html)

Note: last revision date 2021-11-29.
Note: last revision date 2021-12-01.

0 comments on commit aead86f

Please sign in to comment.