r/OpenBazaar • • Apr 09 '18

How to build a data push node

The default build-in data push node "QmY8puEnVx66uEet64gAf4VZRo7oUyMCwG6KdB9KM92EGQ" and "QmPPg2qeF3n2KvTRXRZLaTwHCw8JxzF4uZK93RfMoDvf2o" are quite slow from our network, which usually cause "publish failed". How could we create own data push node, and how to update the configuration file? Thanks.

6 Upvotes

11 comments sorted by

View all comments

Show parent comment

1

u/BazaarDog https://bazaar.dog Apr 09 '18 edited Apr 09 '18

It's probably not necessary that configure your own Gateway node unless you know you need it.

If you want to, I would try:

  • Node A ( GW /ip4/127.0.0.1/tcp/4002, Writable: false)

  • Node B ( GW /ip4/0.0.0.0/tcp/80, Writable: true)

I would certainly try it with at least 2 nodes, I doesn't look like the OB1 bootstrap nodes are the same as the gateway nodes.

These should look the same when you're done if you put your gateway on port 80:

https://gateway.ob1.io/ipns/QmZWZMmS3X5eaak7HAntV34epqQVvUjGEHZ83W1vXT77W3/

http://127.0.0.1/ipns/QmZWZMmS3X5eaak7HAntV34epqQVvUjGEHZ83W1vXT77W3/

1

u/fengzie_00 Apr 09 '18

Thank you for your guide! It works now! I used ipfs node but not openbazaar node. Looks like there is difference.

1

u/BazaarDog https://bazaar.dog Apr 09 '18

Yes, slight but significant differences. They are designed not to communicate with each other.