Commit 67de76c2 authored by obscuren's avatar obscuren

Put leveldb

parent 02acef23
...@@ -60,8 +60,8 @@ type Ethereum struct { ...@@ -60,8 +60,8 @@ type Ethereum struct {
} }
func New(caps Caps, usePnp bool) (*Ethereum, error) { func New(caps Caps, usePnp bool) (*Ethereum, error) {
//db, err := ethdb.NewLDBDatabase() db, err := ethdb.NewLDBDatabase()
db, err := ethdb.NewMemDatabase() //db, err := ethdb.NewMemDatabase()
if err != nil { if err != nil {
return nil, err return nil, err
} }
......
...@@ -496,6 +496,8 @@ func (p *Peer) handleHandshake(msg *ethwire.Msg) { ...@@ -496,6 +496,8 @@ func (p *Peer) handleHandshake(msg *ethwire.Msg) {
} }
*/ */
p.CatchupWithPeer()
istr = "inbound" istr = "inbound"
} else { } else {
p.CatchupWithPeer() p.CatchupWithPeer()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment