Est-ce que quelqu'un aurait déjà essayé de faire tourner 2 nœuds sur un même serveur ?
Apparement c'est possible : how to run multiple bitcoind node on one server?
Quote
We can run 2 bitcoind nodes on a single server without installing it multiple times. We just have to create 2 data directory with a different configuration file (bitcoin.conf) for the 2 nodes. This configuration file should have different port numbers, user name and password specified.
Node1:
Node2:
You can also make the 2 nodes to connect each other by specifying the connect command while starting node2 as mentioned below.
Node1:
Code:
bitcoind -regtest -datadir=./bitcoinNode1/ -conf=./bitcoinNode1/bitcoin.conf -rpcport=19001 -port=19000
Node2:
Code:
bitcoind -regtest -datadir=./bitcoinNode2/ -conf=./bitcoinNode2/bitcoin.conf -rpcport=19011 -port=19010
You can also make the 2 nodes to connect each other by specifying the connect command while starting node2 as mentioned below.
Code:
bitcoind -regtest -datadir=./bitcoinNode2/ -conf=./bitcoinNode2/bitcoin.conf -rpcport=19011 -port=19010 -listen=0 -connect=127.0.0.1:19000