Put leveldb

This commit is contained in:
obscuren 2014-02-11 20:09:58 +01:00
parent 02acef23d5
commit 67de76c217
2 changed files with 4 additions and 2 deletions

View File

@ -60,8 +60,8 @@ type Ethereum struct {
}
func New(caps Caps, usePnp bool) (*Ethereum, error) {
//db, err := ethdb.NewLDBDatabase()
db, err := ethdb.NewMemDatabase()
db, err := ethdb.NewLDBDatabase()
//db, err := ethdb.NewMemDatabase()
if err != nil {
return nil, err
}

View File

@ -496,6 +496,8 @@ func (p *Peer) handleHandshake(msg *ethwire.Msg) {
}
*/
p.CatchupWithPeer()
istr = "inbound"
} else {
p.CatchupWithPeer()