Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(base-node): adds add-peer command #4430

Merged

Conversation

sdbondi
Copy link
Member

@sdbondi sdbondi commented Aug 10, 2022

Description

Adds add-peer command to base node

Motivation and Context

Allows peers to be added by the base node command prompt. Previously, if you have a small network without valid seed peers
and wanted to connect to a new base node, you'd have to add the peer to your seed peer list in the config.

> add-peer b000b47f535b45e4cd0071d7161704cceb17e12fd1ee2dd3ca0337ea4161043d /onion3/fqdjgb4bh4frnaszxpv32jkup5qjbalbo7k2h4chj2zvfa7dasjyeoqd:18141
Peer with node id '89489c26c311bdd6a0912d37da'was added to the base node.
> dial-peer b000b47f535b45e4cd0071d7161704cceb17e12fd1ee2dd3ca0337ea4161043d

How Has This Been Tested?

Manually

@sdbondi sdbondi force-pushed the base-node-add-peer-cmd branch from c98c93c to 653809b Compare August 10, 2022 09:29
@sdbondi sdbondi force-pushed the base-node-add-peer-cmd branch from 653809b to fe1b802 Compare August 10, 2022 09:40
@stringhandler stringhandler merged commit b2563a2 into tari-project:development Aug 10, 2022
@sdbondi sdbondi deleted the base-node-add-peer-cmd branch August 10, 2022 13:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants