Fetching data reliably
Redbelly's quasi-instant finality introduces the possibility that clients may unknowingly connect to Byzantine (malicious) nodes and fetch incorrect data as a result.
Effective implementation of Credence-js prevents the possibility of fetching incorrect data from a Byzantine node by contacting sufficiently many nodes within the network's Byzantine tolerance threshold. In this case, we fetch a total of t+1 results where t is the maximum number of Byzantine nodes a given system can tolerate. This helps ensure the final data returned to the client is reliable.