Johnik
Regular Member
- Sep 3, 2019
- 330
- 418
Transactions are included in the block only if they are valid. Multiple nodes need to agree on that. So, if you are running a full node and the block has been included in the blockchain, then the data is correct. As far as I know, the node needs multiple peer connections to verify blocks. Ofc if the node is not fully in sync with the network, it will report old data.Ok, Lets say you are using a dapp for buying something. let’s say the api that replies you runs a full mode and it responds that a tx is done. How many servers said the tx is done? One? Or several? Let’s not worry about what’s going on in the backend. Just take the confirmation message.
If we are talking about connecting to 3rd party providers, like infura, than yes, they can respond with any response, just like any other centralized service. The point of web3 is that you are not dependent on such services.
PS: let's end this