Skip to main content
QUICK REVIEW

[Paper Review] Modeling a Double-Spending Detection System for the Bitcoin Network

Marco Alberto Javarone, Craig Wright|arXiv (Cornell University)|Sep 20, 2018
Blockchain Technology Applications and SecurityComputer Science13 references6 citations
TL;DR

This paper proposes a network-based oracle model to detect double-spending attacks in the Bitcoin network by polling a subset of nodes. Using complex network theory, it shows that small-world and scale-free topologies enable rapid detection with minimal polling—fewer nodes are needed compared to regular lattices, and performance remains stable even as the network scales.

ABSTRACT

The Bitcoin protocol prevents the occurrence of double-spending (DS), i.e. the utilization of the same currency unit more than once. At the same time a DS attack, where more conflicting transactions are generated, might be performed to defraud a user, e.g. a merchant. Therefore, in this work, we propose a model for detecting the presence of conflicting transactions by means of an 'oracle' that polls a subset of nodes of the Bitcoin network. We assume that the latter has a complex structure. So, we investigate the relation between the topology of several complex networks and the optimal amount, and distribution, of a subset of nodes chosen by the oracle for polling. Results show that small-world networks require to poll a smaller amount of nodes than regular networks. In addition, in random topologies, a small number of polled nodes can make a detection system fast and reliable even if the underlying network grows.

Motivation & Objective

  • To design a detection system for double-spending attacks in Bitcoin using an oracle that polls a subset of network nodes.
  • To investigate how network topology influences the efficiency and reliability of such a detection system.
  • To determine the optimal number and distribution of polled nodes for rapid detection across different network structures.
  • To evaluate the scalability of the detection system as the Bitcoin network grows in size.
  • To provide a practical reference for implementing real-world detection systems based on network topology and node connectivity.

Proposed method

  • Model the Bitcoin network as a complex network with various topologies: regular ring lattices, small-world networks (via Watts-Strogatz model), and scale-free networks (via Barabasi-Albert model).
  • Simulate the propagation of conflicting transactions as a spreading process across these networks using numerical simulations.
  • Define an 'oracle' that randomly selects a subset of nodes to poll for receipt of conflicting transactions.
  • Measure the average time steps <T> until the oracle detects a conflict, using this as a performance metric.
  • Vary the number of polled nodes (Z) and network size (up to 10^4 nodes) to assess detection speed and scalability.
  • Compare detection performance across topologies, focusing on how topology affects the required number of polled nodes.

Experimental results

Research questions

  • RQ1How does network topology affect the number of nodes that need to be polled for effective double-spending detection?
  • RQ2Can a small, randomly selected subset of nodes reliably detect double-spending attacks across different network structures?
  • RQ3How does the detection speed scale with increasing network size in different topologies?
  • RQ4What is the minimum number of polled nodes required to ensure fast and reliable detection in small-world and scale-free networks?
  • RQ5How does the performance of the detection system compare between regular, small-world, and scale-free network topologies?

Key findings

  • Small-world networks require polling fewer nodes than regular networks to achieve the same detection speed.
  • Scale-free networks with minimum degree m=2 and m=4 show fast detection with minimal polling, confirming the advantage of high-connectivity hubs.
  • In random topologies like small-world and scale-free networks, detection remains fast and reliable even as network size increases to 10^4 nodes.
  • The average detection time <T> decreases with increasing network edge density, supporting the theoretical expectation of faster spreading.
  • The detection system's performance is robust to network scaling, meaning the same number of polled nodes can be effective even in larger networks.
  • The model suggests that polling miners—due to their high connectivity—could be optimal in real-world deployment, though the model assumes undirected, random sampling for simplicity.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.