Questions before installing a datapod

Hi !

Linked to Stabilisation des datapods en cours:

Do I have to run an archive Duniter2 node to run a datapod ?
Do I have to run a Duniter2 node at all ? (I know the node should be a mirror)
Is do, do the node and the datapod have to be on the same host ?

1 Like

The example docker-compose.yml file is available here: docker-compose.prod.yml · main · nodes / Duniter Datapod · GitLab. As you can see, it does not depend on Duniter at all ! (more on that on the topic Datapod : spécifique à un réseau ou agnostique?).

The only components are :

The only thing that is related to the network is the address format used in the db (the prefix is now 42, common for all tests networks). There are plans to add offchain transaction comments, which could lead to add a dependency to Duniter or Squid in order to allow search in all comments (onchain and offchain), but this will be developed later.

Some advantages of offchain datapods are:

  • It allows someone with no write permission on blockchain to write something in the datapods.
  • It is much faster than the 6 seconds block time (+finalization) which opens for other features

But we could also design an onchain oplog as discussed in Oplog onchain vs offchain.

The network used is Amino DHT, the public IPFS DHT, it is independent from Duniter p2p network, contrary to the v1 datapods which were based on Duniter 1 p2p network.

1 Like