New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

github.com/drjosh9000/democracy

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/drjosh9000/democracy

  • v0.0.0-20211209065728-cec121a0fe98
  • Source
  • Go
  • Socket score

Version published
Created
Source

Democracy

A proof-of-concept Bitcoin client that treats Bitcoin with the contempt it deserves.

Bitcoin offers no inbuilt democracy. One can either vote to support the network (by running a regular Bitcoin client or doing Bitcoin mining), or abstain (by not doing those things). Bitcoin is thus a one-party state.

Running this software is a vote against Bitcoin. It operates by either directly rejecting, or refusing to store or forward, certain Bitcoin messages to peers in the network. Effectively, this software treats Bitcoins as having zero or negative value. (Which they do.)

Installation and Usage

After installing Go, you can run:

go install github.com/DrJosh9000/democracy@latest

A binary called democracy should now exist in your ~/go/bin. Run it to start; hit Control-C to stop.

What about other blockchains, cryptocurrencies, NFTs?

If someone wants to take the concept and implement it for an undemocratic system of their choice, patches are most welcome.

Is this a hacking tool?

No, don't be silly. It doesn't steal Bitcoins or stop a regular Bitcoin client from running. Why would I want to steal something with negative value?

But this aims to disrupt Bitcoin?

In the sense that every business and shop owner that doesn't accept Bitcoin as payment is also "disrupting" Bitcoin.

This isn't following the Bitcoin protocol.

Actually it does - it sends and receives validly-formed Bitcoin messages at the correct times. It applies a different policy to the messages it chooses to send.

How much storage, CPU, memory, and network bandwidth does this consume?

Not very much. Because Bitcoin is treated as valueless, there is no need to store or verify the (enormous) blockchain, and because no incoming information is relayed, there is not much outbound traffic. The main resources used are memory and CPU for tracking peers, and network connections to peers.

FAQs

Package last updated on 09 Dec 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc