Commit Graph

4457 Commits

Author SHA1 Message Date
Sky Young
31765b1dff Use murmur3 inside of bcrypto 2020-11-19 14:12:00 -07:00
ohryan
5321251db3 set competitor chain tip to invaild
setting the competitor chain tip to invaild fixes the problem where the chain continues to sync after nlr. main chain will no longer sync with competitor after nlr
2020-07-21 14:01:48 -07:00
ohryan
83a11fbcb2 setInvalid instead of invalidate + strictEqual assert
instead of running this.invalidate which deadlocks the chain, set the hash to invalid manually with this.setInvalid.

update assertion to use strict equal
2020-07-20 17:43:34 -07:00
ohryan
36671d02ed pull loop variable outside for reassignment 2020-07-17 20:03:07 -07:00
ohryan
c6317a268d update invalidation stepping to use just the while loop and add missing await to assert check 2020-07-16 19:20:49 -07:00
ohryan
11534032f4 fix/update logger warning and fix incorrect assert usage 2020-07-16 19:07:39 -07:00
ohryan
9f9c536efc add missing awaits 2020-07-16 08:31:10 -07:00
ohryan
7a1816a3a8 refactor/update nlr function; check nlr for spv wallet 2020-07-15 19:07:25 -07:00
ohryan
430276b592 add nlr check to reorganize function 2020-07-15 17:45:56 -07:00
metacoin
af2f9bbae7 Add FLO block halving limit (34 halvings) 2020-02-19 08:56:27 -05:00
Sky Young
094e3d7875 Add proper paramaters for Regtest 2020-01-08 16:09:37 -07:00
Sky Young
8024b466e9 Calculate the extra floData size to add to the Buffer when initializing 2019-10-28 13:01:59 -06:00
Sky Young
fef6643742 Handle floData as a Buffer everywhere 2019-09-09 15:24:18 -06:00
Sky Young
a065661f4e Update mainnet checkpoint and slowHeight 2019-07-24 17:33:58 -06:00
Sky Young
c388d4c1cf Add mainnet seed 2019-07-23 09:20:12 -06:00
Sky Young
15979ef376 Use fcoin.conf 2019-07-19 11:46:49 -06:00
Sky Young
d0d750c1f5 Increase mempool max orphans 2019-07-19 11:46:40 -06:00
Sky Young
84aabe20a9 Fix transaction signing 2019-07-19 11:44:37 -06:00
Sky Young
5a300e785f Allow low fees
This commit basically disables the fee estimation logic. Currently this is not needed as tx traffic on FLO is relatively minor
2019-07-19 11:43:36 -06:00
Sky Young
bad3388cab Allow up to 101000 blocks to be batch requested 2019-07-19 11:42:45 -06:00
Sky Young
f73c9d2320 Add new checkpoints for Mainnet and Testnet 2019-07-18 12:09:24 -06:00
Sky Young
2caeac559a Fix Difficulty Retargeting 2019-07-18 12:08:33 -06:00
Sky Young
28dca48cd7
Merge branch 'master' into bcoin-1.0.2 2019-07-15 16:53:15 -06:00
Sky Young
c670ef2ed2 Fix things that were not merged properly 2019-07-15 16:18:46 -06:00
Sky Young
153da80920 Merge remote-tracking branch 'bcoin/master' into bcoin-1.0.2 2019-07-15 15:42:15 -06:00
Braydon Fuller
fed7f2997b
Merge pull request #789 from bucko13/indexer-listeners
add ability to track listeners and remove them on close for indexer
2019-07-03 09:26:39 -07:00
Buck Perley
f4b74003c4
indexer: add ability to track listeners and remove them on close for indexer 2019-07-03 10:55:20 -05:00
Buck Perley
b14cd52070
indexer: move hasRaw check to txindexer 2019-07-03 10:51:08 -05:00
Braydon Fuller
f00985fefb
node: consistent rpc error messages 2019-06-05 12:11:52 -07:00
Braydon Fuller
400d578716
indexer: fix error message 2019-06-05 11:59:28 -07:00
HiddenMan
0551096c0a
blockchain: fix spelling error 2019-05-31 12:52:41 -07:00
Braydon Fuller
87aaebc8e7
node: use the same memory option 2019-05-31 12:16:15 -07:00
Braydon Fuller
4f76cfe3b9
test: add net peer handler tests 2019-05-24 17:58:26 -07:00
Braydon Fuller
9db43a7e1f
test: add net packet, framer and common tests 2019-05-24 17:58:25 -07:00
Nodar Chkuaselidze
cdca51a844
addrindexer: minor.
* allocate one buffer istead of concat.
* return results instead of mutating array.
2019-05-17 21:04:52 +04:00
Nodar Chkuaselidze
0f6ef910b0
addrindexer: use network for getPrefix. 2019-05-17 21:04:47 +04:00
Braydon Fuller
7e9d00a665
node: pass options from getTXByAddress to getMetaByAddress 2019-05-16 10:26:54 -07:00
Braydon Fuller
34e8f22b9b
indexer: update and fix documentation 2019-05-16 10:25:58 -07:00
Braydon Fuller
662a68cf10
blockchain: cleanup deprecated methods
Deprecation details are in CHANGELOG.md
2019-05-15 12:11:37 -07:00
Braydon Fuller
ce16bc9239
node: simplify index-prefix option 2019-05-15 12:11:37 -07:00
Braydon Fuller
ed06c2184d
indexer: check that blocks are connected
There was a rare case that a block could be incorrectly added to
the indexer if the indexer was disabled during a reorg to a height
that matched the height that was expected, and the `sync` method
for the indexer wasn't called that would detect the reorg.
2019-05-15 12:11:37 -07:00
Braydon Fuller
cede31d86f
indexer: cleanup and check pruned and index options 2019-05-15 12:11:37 -07:00
Braydon Fuller
5d18f9ba2e
indexer: index the genesis block 2019-05-15 12:11:37 -07:00
Braydon Fuller
efb2551555
indexer: fix reset and reorg handling 2019-05-15 12:11:37 -07:00
Braydon Fuller
b4be8574e5
test: improve addrindex tests
- Vectors for p2wsh and p2sh.
- Edge case for witness program.
- Improve determinism by not comparing mtime.
- Various edge and error cases.
2019-05-15 12:11:32 -07:00
Braydon Fuller
69e9844f82
test: cleanup and add txindex tests 2019-05-15 12:11:05 -07:00
Braydon Fuller
fae647b9e9
indexer: simplify block meta and remove records 2019-05-15 12:11:05 -07:00
Braydon Fuller
bb797602e6
node: add http indexer info 2019-05-15 12:11:05 -07:00
Braydon Fuller
bd26dbf32d
mempool: update for addrindex 2019-05-15 12:11:05 -07:00
Braydon Fuller
4c8f11ed34
node: update http for addrindex 2019-05-15 12:11:05 -07:00