Skip to content

starting with new API.. questions and issues #2

@noglance

Description

@noglance

new bin files was compiled for Debian fine: #1

but now there is one more issue.

I'm starting bytecoind and 2 walletd instances like this:
./bytecoind --priority-node-address=45.76.29.96:8080
and:
walletd --wallet-file=/path/.wallet --wallet-password=<password> --walletd-bind-address=<server_ip>:<port_to_connect_to_apr_rpc_from_other_server_to_query_transactions>

and it's not working as before..

new man:

_...Usage:
  walletd [options] --wallet-file=<file> | --export-blocks=<directory>
  walletd --help | -h
  walletd --version | -v

Options:
  --wallet-file=<file>                 Path to wallet file to open.
  --wallet-password=<password>         DEPRECATED. Password to decrypt wallet file. If not specified, will prompt user.
  --generate-wallet                    Create wallet file with new random keys. Must be used with --wallet-file option.
  --set-password=<password>            DEPRECATED. Reencrypt wallet file with the new password.
  --set-password                       Prompt user for new password and reencrypt wallet file.

  --allow-local-ip                     Allow local ip add to peer list, mostly in debug purposes.
  --export-blocks=<directory>          Export blockchain into specified directory as blocks.bin and blockindexes.bin, then exit. This overwrites existing files.
  --export-view-only=<file>            Export view-only version of wallet file with the same password, then exit.
  --hide-my-port                       DEPRECATED. Do not announce yourself as peer list candidate. Use --p2p-external-port=0 instead.
  --testnet                            Configure for testnet.
  --p2p-bind-address=<ip:port>         Interface and port for P2P network protocol [default: 0.0.0.0:8080].
  --p2p-external-port=<port>           External port for P2P network protocol, if port forwarding used with NAT [default: 8080].
  --walletd-bind-address=<ip:port>     Interface and port for walletd RPC [default: 127.0.0.1:8070].
  --bytecoind-bind-address=<ip:port>   Interface and port for bytecoind RPC [default: 0.0.0.0:8081].
  --bytecoind-remote-address=<ip:port> Connect to remote bytecoind and suppress running built-in bytecoind.
  --seed-node-address=<ip:port>        Specify list (one or more) of nodes to start connecting to.
  --priority-node-address=<ip:port>    Specify list (one or more) of nodes to connect to and attempt to keep the connection open.
  --exclusive-node-address=<ip:port>   Specify list (one or more) of nodes to connect to only. All other nodes including seed nodes will be ignored.

  --help, -h                           Show this screen.
  --version, -v                        Show version._

why --wallet-password DEPRECATED?

should walletd work in pair with bytecoind or it's standalone app? is it good practise to keep own bytecoind node?

there is new errors like:

terminate called after throwing an instance of 'platform::ExclusiveLock::FailedToLock'
  what():  ExclusiveLock fail at path=/root/.bytecoin/bytecoind.lock
Aborted

they rappers when you try to start second walletd process if no bytecoind lunched or if this is first walletd launch but bytecoind already running. looks like its available to use only one app with one db instance. is it true?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions