RE: The Crypto Maniacs Podcast - Round 2 With Blocktrades!

avatar
(Edited)

You are viewing a single comment's thread:

Question for @blocktrades

Does HAF have some kind of tradeoff with decentralization? Is it more secure to get data from a traditional full node?

Where's the HAF database stored?



0
0
0.000
4 comments
avatar

A HAF server is very similar to an existing API node in the way it works, and in terms of it's trustworthiness. In other words, if you are using someone else's HAF server, then you're trusting it's data, just like you are trusting data from someone else's API node. And practically speaking, the same goes for trusting data from someone's else hived node. Any external service can be programmed to lie.

So if you want absolute security, you may choose to operate your own infrastructure (your own hived and your own HAF server). In this case, your own hived node, compiled by you from open source code, performs validation on all the data it receives, and you can read the code to verify it is doing the correct thing.

Alternatively, if you don't want to operate your own hived/HAF servers, but still don't want to rely on a single source of truth, you can ask for the same data from multiple public servers, to confirm that they are reporting the same information.

0
0
0.000
avatar

So once hivemind moves on top of HAF, there will be no need for API nodes as they are today? Basically, it would be just hived and HAF for a full node?

0
0
0.000
avatar
(Edited)

We'll be migrating hivemind itself to the HAF architecture, so yes, API nodes in the future will consist of a hived node plus one or more HAF apps. And we will likely see the emergence of API nodes that choose to support different subsets of API functionality.

0
0
0.000
avatar

Where's the HAF database stored?

You can store it wherever you want, you just point your HAF code at the postgres database server of your choice.

0
0
0.000