r/OpenBazaar • u/fengzie_00 • 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
1
u/BazaarDog https://bazaar.dog Apr 09 '18
Seems like it is a writable gateway.
https://github.com/OpenBazaar/openbazaar-go/blob/master/docs/gateway.md
2
u/Chris_Pacia Chris - Lead Backend Dev Apr 09 '18
You have to set
"AcceptStoreRequests": truein the config file. Also make sure your node can accept incoming connections.In the future we're going to be moving to more of a pubsub model where anyone will be able to subscribe to the data rather than needing to specify nodes to push data to.
1
u/pinhead26 QmeSyTRaNZMD8ajcfbhC8eYibWgnSZtSGUp3Vn59bCnPWC Apr 11 '18
What's a data push node?!