Commit Graph

  • 8aeb8c3ef2 peer: temporarily disable stall detection Olaoluwa Osuntokun 2017-10-13 14:22:07 -07:00
  • c5c392c5c5 server: init rpcserver with cfindex Alex 2017-08-29 16:04:04 -06:00
  • ac109cfb86 rpcserver: return correct error when --nocfilters is enabled Alex 2017-08-29 16:03:40 -06:00
  • 09723f4800 btcjson: add ErrRPCNoCFIndex for cases when cfindex is disabled Alex 2017-08-29 15:23:44 -06:00
  • 5ab49ca22c rpc: add indexers.CfIndex to config, utilize Olaoluwa Osuntokun 2017-08-24 16:30:34 -07:00
  • c8fdf8bf59 rpcclient: add GetCFilterHeader and GetCFilter Olaoluwa Osuntokun 2017-08-24 16:30:18 -07:00
  • 7c2f7be2ea wire: update compact filter messages to match wire.Message interface Olaoluwa Osuntokun 2017-08-24 16:29:57 -07:00
  • 3d1caa2f83 multi: update to point to roasbeef forks Olaoluwa Osuntokun 2017-08-24 16:29:38 -07:00
  • 9a30e95d83 peer: don't inv trickle new blocks Olaoluwa Osuntokun 2017-07-04 14:08:08 -07:00
  • a741b4366b all: Remove seelog logger. Josh Rickmar 2017-05-24 17:24:06 -04:00
  • 6589cffb19 server: change logging in OnGetCFilter to be less verbose Alex 2017-06-13 09:27:18 -06:00
  • ac4bd31ba0 peer: disable peer stalling for get blocks messages Olaoluwa Osuntokun 2017-06-05 14:45:49 -07:00
  • 4a6dc67067 txscript: add exported sighash calc func Olaoluwa Osuntokun 2017-01-04 16:28:38 -08:00
  • 7647f884a9 rpcserver: Return 0-length headers via RPC as they're now valid. Alex 2017-05-11 21:34:05 -06:00
  • ec228f9ff9 rpctest: Add GenerateAndSubmitBlockWithCustomCoinbaseOutputs Alex 2017-05-08 13:38:57 -06:00
  • 9b9ef42f8a blockchain/indexers: proper handling of empty filters Olaoluwa Osuntokun 2017-04-27 21:48:53 -07:00
  • e0943a84bd blockchain/indexers: add a bit more line spacing to cfindex.go Olaoluwa Osuntokun 2017-04-27 19:44:43 -07:00
  • 1c5f25bbf2 blockchain/cfindex: Factor out filter/header calc. Alex 2017-04-26 18:55:24 -06:00
  • f11e87c957 rpcserver: Fix getcfilterheader RPC method's hex encoding for hash. Alex 2017-04-13 20:15:14 -06:00
  • 92f1de6dd9 Fix case where 0 headers are retrieved. Alex 2017-04-04 16:43:06 -06:00
  • dabb8000fb Add Extended flag to cfilter and cfheaders messages Alex 2017-04-04 14:50:27 -06:00
  • 936caad9c2 Add last blockhash to cfheaders and blockhash to cfilter messages Alex 2017-04-03 19:05:39 -06:00
  • ba4a2f77a5 wire/server: allocate hash once per loop to prevent overwriting Alex 2017-03-08 17:32:52 -08:00
  • 71ccc95502 wire: Fix MsgCFHeaders.Decode() Alex 2017-03-08 17:11:00 -08:00
  • 29b5ece196 Changed getcfheaders/cfheaders messages to get multiple headers. Alex 2017-03-08 16:14:39 -08:00
  • 860100019f blockchain: fix --dropcfindex Alex 2017-03-02 03:20:54 -07:00
  • 8ad7aa5d5d Rename CFilterHeader to CFHeader on P2P side; fix some bugs/tests Alex 2017-02-22 19:30:53 -07:00
  • ba7b5f3308 Use NBytes() instead of Bytes() in CFIndex Alex 2017-02-21 19:28:17 -07:00
  • 0c08ba2786 define MsgCFilterHeader.Deserialize(), required by btcrpcclient pedro martelletto 2017-02-09 13:57:36 +00:00
  • b5de49aa73 define MsgCFilter.Deserialize(), required by btcrpcclient pedro martelletto 2017-02-09 13:54:30 +00:00
  • 9780ef5997 Skip TxIn on coinbase transaction when indexing Alex 2017-02-02 10:44:22 -07:00
  • b8c3be740f Add CFilterHeader p2p counterparts pedro martelletto 2017-02-02 10:42:44 +00:00
  • 6102e129c5 Fixed a couple of bugs and added --dropcfindex option Alex 2017-02-01 19:51:23 -07:00
  • 763842329b Implement a GetCFilterHeader RPC command pedro martelletto 2017-02-01 13:57:45 +00:00
  • a5bf8941d5 Define FilterHeaderByBlockHash() pedro martelletto 2017-02-01 13:43:09 +00:00
  • e620538343 Generate and store filter headers pedro martelletto 2017-02-01 12:12:30 +00:00
  • b53c42f5dc Define dbFetch{Basic,Extended}Header() pedro martelletto 2017-02-01 09:50:36 +00:00
  • 7673859108 Create db buckets for committed filter hashes pedro martelletto 2017-01-31 10:01:21 +00:00
  • ddfaed7f6f Delete extended filters in DisconnectBlock() pedro martelletto 2017-01-31 09:56:07 +00:00
  • 0a841fefcf Generate and store extended filters in ConnectBlock() pedro martelletto 2017-01-31 09:53:00 +00:00
  • cdb3d44fa8 p2p needs a new message to return committed filters pedro martelletto 2017-01-20 15:55:09 +00:00
  • 71c421db66 Differentiate between basic/extended filters in p2p/RPC pedro martelletto 2017-01-20 15:01:19 +00:00
  • f703e18652 Populate filter #1 (extended) pedro martelletto 2017-01-20 13:21:49 +00:00
  • f16da156c9 Include data pushes from pkscripts pedro martelletto 2017-01-19 16:09:36 +00:00
  • 396d28955c better separation between filters; comments pedro martelletto 2017-01-19 14:55:39 +00:00
  • 57995fd111 Start preparing the ground for layer {0,1} filters pedro martelletto 2017-01-19 13:20:41 +00:00
  • 472141f88d Switch to new GCS builder interface pedro martelletto 2017-01-19 10:49:40 +00:00
  • 6d6677b797 zap errCFEntry pedro martelletto 2017-01-18 09:12:37 +00:00
  • 92c8ec4094 cbfindex.go -> cfindex.go pedro martelletto 2017-01-18 08:55:52 +00:00
  • 6e5f650be9 CBFilter -> CFilter, discussed with davec@ pedro martelletto 2017-01-18 08:09:05 +00:00
  • a77b1e00d5 FilterByBlockHash(), pointed out by davec@ pedro martelletto 2017-01-18 07:50:18 +00:00
  • 9f02951b0e CloneBytes() -> [:], pointed out by davec@ pedro martelletto 2017-01-18 07:48:56 +00:00
  • 8b8c7bcf05 Implement DisconnectBlock() for the CBF Indexer pedro martelletto 2017-01-16 11:50:29 +00:00
  • 618306116b Return filter in handleGetCBFilter() pedro martelletto 2017-01-14 10:38:46 +00:00
  • cd7857b883 GetCBFilter RPC returns a string, not a []byte pedro martelletto 2017-01-14 10:38:28 +00:00
  • f6dff40733 Instrument GetCBFilter RPC pedro martelletto 2017-01-14 10:26:13 +00:00
  • 76378e7167 Add a GetCBFilter RPC command pedro martelletto 2017-01-13 12:07:25 +00:00
  • 43bf8db793 Look up filters from p2p GetCBF message pedro martelletto 2017-01-12 15:28:27 +00:00
  • 76926f8904 Roll in a dbFetchCBFIndexEntry() pedro martelletto 2017-01-12 13:25:45 +00:00
  • 3b0038093a Hook CBF indexer to server code pedro martelletto 2017-01-12 11:20:16 +00:00
  • 9809f4ffdd Instrument basic logging pedro martelletto 2017-01-12 11:03:42 +00:00
  • cf74c8c3ca Abstract filter generation to a separate function pedro martelletto 2017-01-12 10:55:31 +00:00
  • 05d2fdeb11 Rename a variable in CBF's ConnectBlock() pedro martelletto 2017-01-12 10:31:19 +00:00
  • 620ad5b6fb Store filter in a db block index pedro martelletto 2017-01-11 16:29:32 +00:00
  • b2990e7999 Move filter generating code to CBF indexer pedro martelletto 2017-01-11 16:09:08 +00:00
  • 95cbe2a911 Add the skeleton of a CBF indexer pedro martelletto 2017-01-10 14:38:15 +00:00
  • c8627cbee4 Use a harcoded key to generate filters pedro martelletto 2017-01-10 12:53:21 +00:00
  • dc25da8296 Generate a filter for a given block pedro martelletto 2017-01-09 12:00:18 +00:00
  • e9298934b9 Add a stub GetCBFilter message. pedro martelletto 2016-12-13 11:40:30 +00:00
  • 333af136ef Create a knob to switch CBFs off. pedro martelletto 2016-12-13 10:03:15 +00:00
  • d82e76cec9 Introduce a service flag for CBFs. pedro martelletto 2016-12-13 09:34:25 +00:00
  • 1432d294a5 build: update glide to point to latest btcutil Olaoluwa Osuntokun 2018-05-15 19:16:50 -07:00
  • 4b968f7e18 btcec: remove obsolete test Olaoluwa Osuntokun 2018-05-15 20:17:46 -07:00
  • 2842f933bb server: fix linter error Olaoluwa Osuntokun 2018-05-15 20:06:16 -07:00
  • 04f0b5338a build: switch to stable version of gometalinter Olaoluwa Osuntokun 2018-05-15 20:01:58 -07:00
  • 253b37c17f btcec: format btcec_test.go with gofmt -s Olaoluwa Osuntokun 2018-05-15 19:28:09 -07:00
  • 7580169cb6 build: update build to use go 1.9.5 and 1.10.1 Olaoluwa Osuntokun 2018-05-15 19:22:15 -07:00
  • 675abc5df3 chaincfg: change hrp prefix for regtest network Vadym Popov 2018-03-20 19:58:38 +02:00
  • 2be2f12b35 rpcclient: Update for go1.10 breaking changes. Dave Collins 2018-02-19 18:36:29 -06:00
  • 1cd648d784 Require atomic swap contracts to specify the secret size. Josh Rickmar 2018-02-16 16:18:43 -05:00
  • 9866016012 Fix sub packages links Kai 2018-02-04 22:55:31 +08:00
  • 99a26bf7e0 wire: typo in BlockHeader PrevBlock comment benma 2018-02-05 10:30:51 +01:00
  • 0ef0d8c59b blockchain: Initialize database with genesis block. Jim Posen 2018-02-09 08:34:30 -08:00
  • 50de9da05b blockchain: Fix typo in example_test.go. Alex Manuskin 2018-01-31 10:40:46 +02:00
  • 9aa9e79ebf blockchain: Enhance migration to v2 block index bucket. Jim Posen 2017-10-09 11:38:49 -07:00
  • 52cddc19cd blockchain: Persist block status changes to disk. Jim Posen 2017-09-14 14:41:21 -07:00
  • 31444f5890 blockchain: Add parent to blockNode constructor. Jim Posen 2017-09-14 19:32:36 -07:00
  • a4d22d8384 blockchain: Delete block headers from old block index bucket. Jim Posen 2017-09-05 19:22:16 -07:00
  • ad00e7ff82 database: Stop writing block header data to LevelDB. Jim Posen 2017-09-05 19:08:09 -07:00
  • 74fb6e56da blockchain: Database migration to populate block index bucket. Jim Posen 2017-09-05 18:24:52 -07:00
  • 6315cea70c blockchain: Load all block headers into block index on init. Jim Posen 2017-09-05 16:58:49 -07:00
  • 175fd940bb blockchain: Store block headers in bucket managed by chainio. Jim Posen 2017-09-05 16:43:50 -07:00
  • 358aed20b7 sampleconfig: Remove duplicate setting. Cédric Félizard 2018-01-28 16:25:55 +00:00
  • fe786c93b6 rpcclient: implement addwitnessaddress Jeremiah Goyette 2017-09-12 00:07:53 -05:00
  • e4a6228752 rpcclient: Add decodescript support. nakagawa 2018-01-26 15:20:33 +09:00
  • 11fcd83963 btcd/multi: fix a number of typos in comments. Nicola 'tekNico' Larosa 2017-10-29 20:56:03 +01:00
  • 16dbb2602a txscript: export calcSignatureHash Marko Bencun 2017-11-18 22:43:45 +01:00
  • 78d12c33f0 database: Update rpcclient link in README.md. Leonardo Lazzaro 2018-01-26 01:43:53 -03:00
  • f22a07b6cf blockchain: Fix typos in README.md. Mitchell Paull 2018-01-25 23:40:42 -05:00
  • be04ac2370 rpcserver: Fix typo in generate handler. Kamil Slowikowski 2018-01-25 23:39:33 -05:00