// Copyright 2015 The go-ethereum Authors
// This file is part of the go-ethereum library.
//
// The go-ethereum library is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// The go-ethereum library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public License
// along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>.

package trie

import (
	"fmt"

	"github.com/tangerine-network/go-tangerine/common"
)

// MissingNodeError is returned by the trie functions (TryGet, TryUpdate, TryDelete)
// in the case where a trie node is not present in the local database. It contains
// information necessary for retrieving the missing node.
type MissingNodeError struct {
	NodeHash common.Hash // hash of the missing node
	Path     []byte      // hex-encoded path to the missing node
}

func (err *MissingNodeError) Error() string {
	return fmt.Sprintf("missing trie node %x (path %x)", err.NodeHash, err.Path)
}
er'>master</option>
<option value='mesa-next' selected='selected'>mesa-next</option>
<option value='wayland'>wayland</option>
<option value='xorg-server-1.19.6'>xorg-server-1.19.6</option>
<option value='xserver-next'>xserver-next</option>
</select> <input type='submit' value='switch'/></form></td></tr>
<tr><td class='sub'>FreeBSD graphics obsolete development ports (https://github.com/freebsd/freebsd-ports-graphics)</td><td class='sub right'></td></tr></table>
<table class='tabs'><tr><td>
<a href='/~lantw44/cgit/freebsd-ports-graphics/about/'>about</a><a href='/~lantw44/cgit/freebsd-ports-graphics/'>summary</a><a href='/~lantw44/cgit/freebsd-ports-graphics/refs/'>refs</a><a class='active' href='/~lantw44/cgit/freebsd-ports-graphics/log/textproc/elasticsearch2-plugin-sql/distinfo'>log</a><a href='/~lantw44/cgit/freebsd-ports-graphics/tree/textproc/elasticsearch2-plugin-sql/distinfo'>tree</a><a href='/~lantw44/cgit/freebsd-ports-graphics/commit/textproc/elasticsearch2-plugin-sql/distinfo'>commit</a><a href='/~lantw44/cgit/freebsd-ports-graphics/diff/textproc/elasticsearch2-plugin-sql/distinfo'>diff</a><a href='/~lantw44/cgit/freebsd-ports-graphics/stats/textproc/elasticsearch2-plugin-sql/distinfo'>stats</a></td><td class='form'><form class='right' method='get' action='/~lantw44/cgit/freebsd-ports-graphics/log/textproc/elasticsearch2-plugin-sql/distinfo'>
<select name='qt'>
<option value='grep'>log msg</option>
<option value='author'>author</option>
<option value='committer'>committer</option>
<option value='range'>range</option>
</select>
<input class='txt' type='search' size='10' name='q' value=''/>
<input type='submit' value='search'/>
</form>
</td></tr></table>
<div class='path'>path: <a href='/~lantw44/cgit/freebsd-ports-graphics/log/'>root</a>/<a href='/~lantw44/cgit/freebsd-ports-graphics/log/textproc'>textproc</a>/<a href='/~lantw44/cgit/freebsd-ports-graphics/log/textproc/elasticsearch2-plugin-sql'>elasticsearch2-plugin-sql</a>/<a href='/~lantw44/cgit/freebsd-ports-graphics/log/textproc/elasticsearch2-plugin-sql/distinfo'>distinfo</a></div><div class='content'><table class='list nowrap'><tr class='nohover'><th></th><th class='left'>Commit message (<a href='/~lantw44/cgit/freebsd-ports-graphics/log/textproc/elasticsearch2-plugin-sql/distinfo?showmsg=1'>Expand</a>)</th><th class='left'>Author</th><th class='left'>Age</th><th class='left'>Files</th><th class='left'>Lines</th></tr>
<tr><td class='commitgraph'>* </td><td><a href='/~lantw44/cgit/freebsd-ports-graphics/commit/textproc/elasticsearch2-plugin-sql/distinfo?id=0a4e709a5a7fa22e259116b4e24e4b98c7a45bee'>Update textproc/elasticsearch2-plugin-sql to version 2.4.2.0.</a></td><td>olgeni</td><td><span title='2016-12-06 23:45:59 +0800'>2016-12-06</span></td><td>1</td><td><span class='deletions'>-3</span>/<span class='insertions'>+3</span></td></tr>
<tr><td class='commitgraph'>* </td><td><a href='/~lantw44/cgit/freebsd-ports-graphics/commit/textproc/elasticsearch2-plugin-sql/distinfo?id=d09cfa3e77869d4fe3774769795054cde21e6fb5'>Update textproc/elasticsearch2-plugin-sql to 2.4.1.</a></td><td>olgeni</td><td><span title='2016-12-05 22:23:15 +0800'>2016-12-05</span></td><td>1</td><td><span class='deletions'>-3</span>/<span class='insertions'>+3</span></td></tr>