Docs Home
Infrastructure Docs
Developer Docs
Peerplays.com
Search…
Introduction to Peerplays
Concepts
Decentralization
Consensus Mechanisms Compared
Technology
Peerplays Technical Summary
Intro to Peerplays Tokens
Intro to Peerplays Liquidity Pools
Staking (PowerUp) in Peerplays
Gamified User Namespaces and Subject Matter Expert Committees
Peer-to-Peer Autonomous Organizations: Flow Diagram
Delegated Proof of Stake (DPOS)
Gamified Proof of Stake (GPOS)
Sidechain Operator Nodes (SONs)
NFTs and Marketplace
Peerplays DEX
Witnesses
What is a Peerplays Witness?
Becoming a Peerplays Witness
Obtaining private keys for cli_wallet
Witness Node Hardware Requirements
Witness Node Docker Install
Witness Node GitLab Artifact Install
Setting up a Witness Node
Updating a Witness Node
Setting up a Witness Node with Docker
Setting up the faucet
Beatrice
Bookie Oracle Suite (BOS)
Introduction to BOS
BOS Installation
BookieSports
Manual Intervention Tool (MINT)
Data Proxies
Introduction to Data Proxies
How Data Proxies Work
Data Proxy Set Up
Creating Your Own Data Proxy
Couch Potato
Introduction
Installation
Functional Requirements
Help
Database
API
Proxy Payment Considerations
Random Number Generator (RNG)
RNG Technical Summary
RNG API
API
Peerplays Core API
Popular API Calls
Account History API
Asset API
Block API
Crypto API
Database API
Network Broadcast API
Network Nodes API
Orders API
Wallet API
SON API
GPOS API
Bookie API
Market Maker API
Sweeps API
Python Peerplays
peerplayjs-lib
Connecting Elasticsearch to a blockchain node
GitLab
GitLab Ticket Templates
Labels
Time Tracking
Other Documentation
Docs Home
Infrastructure Docs
Developer Docs
Known Issues
Peerplays Disaster Recovery Plan
Sept 2021 Mainnet Outage - Postmortem Report
Powered By
GitBook
Network Nodes API
The network node API is available from the full node via web-sockets.
Obtain Network Information
get_info
Return general network information, such as p2p port.
1
fc
::
variant_object graphene
::
app
::
network_node_api
:
get_info
()
const
Copied!
get_connected_peers
Get status of all current connections to peers.
1
std
::
vector
<
net
::
peer_status
>
graphene
::
app
::
network_node_api
::
get_connected_peers
()
const
Copied!
get_potential_peers
Return list of potential peers.
1
std
::
vector
<
net
::
potential_peer_record
>
graphene
::
app
::
network_node_api
::
get_potential_peers
()
const
Copied!
get_advanced_node_parameters
Get advanced node parameters, such as desired and max number of connections.
1
fc
::
variant_object graphene
::
app
::
network_node_api
::
get_advanced_node_parameters
()
const
Copied!
Change Network Settings
add_node
Connect to a new peer
1
void
graphene
::
app
::
network_node_api
::
add_node
(
2
const
fc
::
ip
::
endpoint
&
ep
)
Copied!
Parameters
ep
: The IP/Port of the peer to connect to
set_advanced_node_parameters
Set advanced node parameters, such as desired and max number of connections.
1
void
graphene
::
app
::
network_node_api
::
set_advanced_node_parameters
(
2
const
fc
::
variant_object
&
params
)
Copied!
Parameters
params
: a JSON object containing the name/value pairs for the parameters to set
Previous
Network Broadcast API
Next
Orders API
Last modified
2yr ago
Export as PDF
Copy link
Contents
Obtain Network Information
get_info
get_connected_peers
get_potential_peers
get_advanced_node_parameters
Change Network Settings
add_node
set_advanced_node_parameters