diff options
author | Janos Guljas <janos@resenje.org> | 2017-12-04 19:44:24 +0800 |
---|---|---|
committer | Janos Guljas <janos@resenje.org> | 2017-12-04 19:44:24 +0800 |
commit | 7898e0d585ac16ca80ddef3ef6933cc6d12ba576 (patch) | |
tree | f13ad24a8ee3a3130af663e932743c34d2810a39 /cmd/utils | |
parent | 057af8c5c842714feff675faeab089e497ec1739 (diff) | |
download | dexon-7898e0d585ac16ca80ddef3ef6933cc6d12ba576.tar.gz dexon-7898e0d585ac16ca80ddef3ef6933cc6d12ba576.tar.zst dexon-7898e0d585ac16ca80ddef3ef6933cc6d12ba576.zip |
swarm: multiple --ens-api flags
Allow multiple --ens-api flags to be specified with value format
[tld:][contract-addr@]url.
Backward compatibility with only one --ens-api flag and --ens-addr
flag is preserved and conflict cases are handled:
- multiple --ens-api with --ens-addr returns an error
- single --ens-api with contract address and --ens-addr with
different contract address returns an error
Previously implemented --ens-endpoint is removed. Its functionality
is replaced with multiple --ens-api flags.
Diffstat (limited to 'cmd/utils')
0 files changed, 0 insertions, 0 deletions