aboutsummaryrefslogtreecommitdiffstats
path: root/ethwire/README.md
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-10-31 21:53:42 +0800
committerobscuren <geffobscura@gmail.com>2014-10-31 21:53:42 +0800
commit4914a78c8c650d7fc74570f25a682598aaeb6973 (patch)
treeeca4eef360d5202d51d5d8766072848ebcb185e3 /ethwire/README.md
parentaf34749a6b47ff8f9b4cb55d9ea65e1235d63b68 (diff)
downloaddexon-4914a78c8c650d7fc74570f25a682598aaeb6973.tar
dexon-4914a78c8c650d7fc74570f25a682598aaeb6973.tar.gz
dexon-4914a78c8c650d7fc74570f25a682598aaeb6973.tar.bz2
dexon-4914a78c8c650d7fc74570f25a682598aaeb6973.tar.lz
dexon-4914a78c8c650d7fc74570f25a682598aaeb6973.tar.xz
dexon-4914a78c8c650d7fc74570f25a682598aaeb6973.tar.zst
dexon-4914a78c8c650d7fc74570f25a682598aaeb6973.zip
ethwire => wire
Diffstat (limited to 'ethwire/README.md')
-rw-r--r--ethwire/README.md36
1 files changed, 0 insertions, 36 deletions
diff --git a/ethwire/README.md b/ethwire/README.md
deleted file mode 100644
index 7f63688b3..000000000
--- a/ethwire/README.md
+++ /dev/null
@@ -1,36 +0,0 @@
-# ethwire
-
-The ethwire package contains the ethereum wire protocol. The ethwire
-package is required to write and read from the ethereum network.
-
-# Installation
-
-`go get github.com/ethereum/ethwire-go`
-
-# Messaging overview
-
-The Ethereum Wire protocol defines the communication between the nodes
-running Ethereum. Further reader reading can be done on the
-[Wiki](http://wiki.ethereum.org/index.php/Wire_Protocol).
-
-# Reading Messages
-
-```go
-// Read and validate the next eth message from the provided connection.
-// returns a error message with the details.
-msg, err := ethwire.ReadMessage(conn)
-if err != nil {
- // Handle error
-}
-```
-
-# Writing Messages
-
-```go
-// Constructs a message which can be interpreted by the eth network.
-// Write the inventory to network
-err := ethwire.WriteMessage(conn, &Msg{
- Type: ethwire.MsgInvTy,
- Data : []interface{}{...},
-})
-```