grin/p2p/src
Antioch Peverell 27c43c42a2
Simplify (and fix) output_pos cleanup during chain compaction (#2609)
* expose leaf pos iterator
use it for various things in txhashset when iterating over outputs

* fix

* cleanup

* rebuild output_pos index (and clear it out first) when compacting the chain

* fixup tests

* refactor to match on (output, proof) tuple

* add comments to compact() to explain what is going on.

* get rid of some boxing around the leaf_set iterator

* cleanup
2019-02-27 21:02:54 +00:00
..
conn.rs Reduce usage of unwrap in p2p crate (#2627) 2019-02-25 19:48:54 +01:00
handshake.rs Map peers by ip only (ignoring port unless on loopback ip) (#2540) 2019-02-18 12:15:32 +00:00
lib.rs Map peers by ip only (ignoring port unless on loopback ip) (#2540) 2019-02-18 12:15:32 +00:00
msg.rs Reduce usage of unwrap in p2p crate (#2627) 2019-02-25 19:48:54 +01:00
peer.rs Reduce usage of unwrap in p2p crate (#2627) 2019-02-25 19:48:54 +01:00
peers.rs Reduce usage of unwrap in p2p crate (#2627) 2019-02-25 19:48:54 +01:00
protocol.rs Reduce usage of unwrap in p2p crate (#2627) 2019-02-25 19:48:54 +01:00
serv.rs Map peers by ip only (ignoring port unless on loopback ip) (#2540) 2019-02-18 12:15:32 +00:00
store.rs Simplify (and fix) output_pos cleanup during chain compaction (#2609) 2019-02-27 21:02:54 +00:00
types.rs Reduce usage of unwrap in p2p crate (#2627) 2019-02-25 19:48:54 +01:00