Abstract

Resource-constrained blockchain clients and the Internet of Things (IoT) devices pose limitations in terms of processing and storing the entire blockchain ledger and mining blocks. Such clients and devices rely on a view of the blockchain provided by full nodes acting as gateways. However, gateway nodes sometimes can provide a distorted view of the blockchain that makes lightweight clients vulnerable to the eclipse attack. When under such an attack, a client cannot differentiate between a forked view of the blockchain and the legitimate blockchain ledger leading to fatal consequences and huge losses incurred. In this paper, we propose a data attestation solution that employs full nodes as validators to attest the responses reported by gateways of lightweight nodes. We leverage smart contracts to give lightweight clients confidence in the data reported as they are unable to validate it from the blockchain network themselves. The system governs the attestation process that comprises submitting attestation requests, approving them, recording the response of validators, and manage payments. Clients can, thereafter, provide their feedback about the validator/gateway performance in the form of a reputation score. We present the proposed system architecture and describe its implementation on the Ethereum blockchain network. We evaluate the proposed solution with respect to functionality testing, cost of execution, and security analysis of the developed smart contracts. We make our smart contracts code and testing scripts publicly available.

Highlights

  • The wide adoption of blockchain technology has resulted in the growing use of lightweight clients to support integration between blockchain and the Internet of Things (IoT)

  • Mobile Decentralized Applications (DApps), IoT devices, and other lightweight clients rely completely on the copy of the blockchain provided by the gateway

  • In this paper, we have proposed a solution for lightweight clients to attest the blockchain view of their gateways

Read more

Summary

INTRODUCTION

The wide adoption of blockchain technology has resulted in the growing use of lightweight clients to support integration between blockchain and the Internet of Things (IoT). The requirements of a full node are not attainable by all clients due to the large storage space and processing power needed Most clients, such as mobile wallets and IoT devices, often opt to use Simplified Payment Verification (SPV) to check the integrity of transactions and blocks, without the need to download the complete blockchain [7]. Mobile DApps, IoT devices, and other lightweight clients rely completely on the copy of the blockchain provided by the gateway These devices have no way of validating the information provided by the referenced full node. We propose a data attestation approach that leverages Ethereum smart contracts to govern validation of the requests from Ethereum lightweight clients This solution accepts attestation requests from lightweight nodes and assigns respective validators to verify the information reported by the gateway.

BACKGROUND
IMPLEMENTATION DETAILS OF THE PROPOSED SOLUTION
Modifier
Retrieve number of available validators from
VALIDATION AND EVALUATION
Findings
CONCLUSION
Full Text
Published version (Free)

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call