Skip to content

Instantly share code, notes, and snippets.

@gluk256
gluk256 / snapshot_6.json
Created February 22, 2019 14:24
Snapshot with 6 nodes
{
"nodes": [
{
"node": {
"info": {
"id": "6ef4c2b78beb798f6d9b60e65b42ef328c3ae7c749c971972d38030a71e9ea7f",
"name": "node_6ef4c2b78beb798f6d9b60e65b42ef328c3ae7c749c971972d38030a71e9ea7f",
"enode": "enode://21b87d15846e5f9ea30e5b9826d89abf1e5836d8d6c930a450639cdb75a0bd47a7ca76ae19b6006a659a95a8897c92ffce4af4ed147936a3dff222eb39c18e8b@127.0.0.1:0",
"enr": "0xf88fb84063a473d8e068493ccde15d739b31b1c866de4be35be63628693703fca6e8000f321b44f660723ef094fe16b2e9501cd8bbf836f58ce726b8bdd2e6453405c10f0183636170cdc583627a7a08c6846869766508826964827634826970847f00000189736563703235366b31a10321b87d15846e5f9ea30e5b9826d89abf1e5836d8d6c930a450639cdb75a0bd47",
"ip": "127.0.0.1",
@gluk256
gluk256 / eip-whisper-msg-codes.md
Last active August 26, 2019 03:49
eip-whisper-msg-codes

Preamble

EIP: draft
Title: Whsiper Specification
Author: Vlad Gluhovsky <gluk256@gmail.com>
Type: Informational
Status: Draft
Created: 2017-05-05

Abstract

Wnode

Wnode (whisper node) is a command-line diagnostic tool. It does not have a nice user interface, because its main purpose is diagnostic, and it's meant to be very light-weight rather than beautiful. Wnode might be used for different purposes, including:

  • running a standalone bootstrap node, in order to set up a private whisper network
  • connecting to particular node for debugging or other purposes
  • engaging in command-line chat with another peer in order to test its functionality
  • sending and receiving text messages
  • sending and receiving files
  • running fully functional mail server
@gluk256
gluk256 / whisper_usage.md
Last active April 29, 2017 20:52
whisper_usage.md

Whisper API Overview

func (self *PublicWhisperAPI) Version() (*rpc.HexNumber, error)

Returns the Whisper version this node offers.

geth console call:

> shh.version

@gluk256
gluk256 / zxcv
Created December 29, 2016 22:43
wnode -salt=per_rectum_ad_astra -enode=enode://d25474361659861e9e651bc728a17e807a3359ca0d344afd544ed0f11a31faecaf4d74b55db53c6670fd624f08d5c79adfc8da5dd4a11b9213db49a3b750845e@52.178.209.125:30303

Whisper Overview

Whisper is a pure identity-based messaging system. Whisper provides a simple low-level API without being based upon or influenced by the low-level hardware attributes and characteristics. Peer-to-peer communication between the nodes of Whisper network uses the underlying ÐΞVp2p Wire Protocol. Whisper was not designed to provide a connection-oriented system, nor for simply delivering data between a pair of particular network endpoints. However, this might be necessary in some very specific cases (e.g. delivering the expired messages in case they were missed), and Whisper protocol will accommodate for that. Whisper is designed for easy and efficient broadcasting, and also for low-level asynchronous communications. It is designed to be a building block in next generation of unstoppable ÐApps. It was designed to provide resilience and privacy at considerable expense. At its most secure mode of operation, Whisper can theor

@gluk256
gluk256 / zxcv
Last active December 6, 2023 13:46
https://github.com/ethereum/go-ethereum/wiki/JavaScript-Console#ethsign
https://github.com/ethereum/wiki/wiki/JavaScript-API#web3eth