Skip to content

Commit

Permalink
add beginning of server.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
danielsuo committed Dec 18, 2014
1 parent ce011de commit bc2ca6e
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/Coin.jl
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ include("messages.jl")
include("signatures.jl")
include("op.jl")
include("tx.jl")
include("server.jl")

Crypto.init()

Expand Down
10 changes: 10 additions & 0 deletions src/server.jl
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# TestNet: https://en.bitcoin.it/wiki/Testnet
# - Faucet: http://faucet.xeno-genesis.com/
# - Explorer: http://tbtc.blockr.io/
# - Peerlist: nslookup testnet-seed.bitcoin.petertodd.org

Crypto.init()

priv_key = "7e68e472a6b41f165c0d13b57b6ac88440367c25361b5d6d407bb5fe2cd05a12"
# moZRBjoq3ELstSp6CPeBXir5FSpjjHyQMp
pub_key = get_pub_key(priv_key, network_id = 0x6f)

0 comments on commit bc2ca6e

Please sign in to comment.