From e9a847e8e2b0ac538fdeef70ac3d7bea18ed63a0 Mon Sep 17 00:00:00 2001 From: Christopher Jeffrey Date: Fri, 19 Feb 2016 11:20:34 -0800 Subject: [PATCH] remove old functions. --- lib/bcoin/pool.js | 25 ------------------------- 1 file changed, 25 deletions(-) diff --git a/lib/bcoin/pool.js b/lib/bcoin/pool.js index b8b8acef..312bf39a 100644 --- a/lib/bcoin/pool.js +++ b/lib/bcoin/pool.js @@ -247,31 +247,6 @@ Pool.prototype._init = function _init() { this.startServer(); }; -Pool.prototype.loadBlocks = function loadBlocks(peer, top, stop) { - var self = this; - this.chain._onFlush(function() { - peer.loadBlocks(self.chain.getLocator(top), stop); - }); -}; - -Pool.prototype.loadOrphan = function loadOrphan(peer, top, orphan) { - var self = this; - assert(orphan); - this.chain._onFlush(function() { - peer.loadBlocks( - self.chain.getLocator(top), - self.chain.getOrphanRoot(orphan) - ); - }); -}; - -Pool.prototype.loadHeaders = function loadHeaders(peer, top, stop) { - var self = this; - this.chain._onFlush(function() { - peer.loadHeaders(self.chain.getLocator(top), stop); - }); -}; - Pool.prototype.loadBlocks = function loadBlocks(peer, top, stop) { var self = this; this.chain._onFlush(function() {