Sky Young
2b0815df6c
plugin id is zmq not bzmq
2018-10-04 11:12:33 -06:00
Sky Young
6c6e0ad446
Add bzmq plugin to allow zmq access
2018-10-04 10:30:00 -06:00
Sky Young
06bb34123a
Add config: true to fcoin config to allow use of fcoin.conf file in datadir
...
This is mainly to allow the setting and changing of API keys in a seperate file, in case people want to access
2018-10-03 13:04:34 -06:00
Sky Young
375ee80b5d
Make sure it is the initial sync to log Sync Complete
...
this prevents logging of Sync Complete every time a new block is added
2018-08-27 12:13:00 -07:00
Sky Young
8715aa5071
Small formatting changes
2018-08-27 12:10:09 -07:00
Sky Young
f488a02d2d
Fix syncComplete calculations
...
The _lastHeaderCount would always be 2000 behind upon startup, even if it is synced with the last header, causing no more headers to be synced. This fixes the issue that prevented syncing occasionally after restart.
2018-08-27 12:10:02 -07:00
Sky Young
db11257a43
Update p2p http RPC port
2018-08-06 15:48:13 -07:00
Sky Young
e7ef0db2cb
Merge branch 'master' of https://github.com/bitpay/bitcore-node into bitpay-master
2018-08-06 11:12:20 -07:00
Sky Young
b081c0a5f8
Only add tx to cache if it has at least 6 transactions
2018-06-08 15:48:39 -07:00
Sky Young
b1f828bea9
Revert "Update P2P Ports"
...
This reverts commit 57bc11a592 .
2018-05-17 09:53:52 -07:00
Sky Young
dc7eacb112
Update Genesis Info
2018-05-17 09:47:23 -07:00
Sky Young
d45f6aecac
Update protocol version
2018-05-17 09:38:20 -07:00
Sky Young
210b2fbcd7
Replace ts with time due to fcoin based on a higher version of lcoin
2018-05-17 09:36:43 -07:00
Sky Young
799675b234
Update printed version to 5.0.0
2018-05-17 09:35:44 -07:00
Sky Young
b9e4c8a6a5
move fcoin to bcoin
2018-05-17 09:35:30 -07:00
Sky Young
57bc11a592
Update P2P Ports
2018-05-17 09:35:18 -07:00
Sky Young
7ac4d51db1
Update Genesis Hashes to Flo
2018-05-17 08:59:20 -07:00
Sky Young
6358953553
Add Flo Ports
2018-05-16 11:03:32 -07:00
Sky Young
53b970cda7
Update default config path
2018-05-16 10:42:37 -07:00
Sky Young
01ebc7a521
update insight ref to flosight
2018-05-15 15:05:27 -07:00
Sky Young
fe2e29d74a
Rename bcoin to fcoin
2018-05-15 15:04:33 -07:00
Micah Riggan
eb637d3125
Adding rpc for broadcastRawTransaction
2018-05-10 16:32:08 -04:00
Sky Young
17a4e0f0cc
Use fcoin instead of bcoin
2018-05-08 13:48:43 -07:00
Sky Young
2fed6b4768
Rename to flocore
2018-05-07 16:30:08 -07:00
Matias Alejo Garcia
34f31ac57d
Revert "Revert "add txIdList cache""
2018-04-12 14:41:18 -03:00
Matias Alejo Garcia
bf8f25d9eb
Revert "add txIdList cache"
2018-04-12 12:30:09 -03:00
Matias Alejo Garcia
ddda913ccd
add txIdList cache
2018-02-12 00:48:30 -03:00
Matias Alejo Garcia
0c24271833
change order to 'desc'
2018-02-11 19:47:52 -03:00
Matias Alejo Garcia
01a3df31c8
fix history sorting when paging results
2018-02-11 15:44:39 -03:00
OstlerDev
4a9658184a
btc -> flo
2018-01-15 16:43:07 -08:00
Chris Kleeschulte
0e421de897
Fixed spent status from getAddressHistory.
2017-11-22 15:56:36 -05:00
Chris Kleeschulte
18a52c214d
Added a reorg to block.
2017-11-09 21:53:37 -05:00
Chris Kleeschulte
bde062e744
wip on changing subscriptions endpoints.
2017-11-09 11:45:00 -05:00
Chris Kleeschulte
b138a558ae
Merge branch 'master' of github.com:kleetus/bitcore-node
2017-11-08 19:04:10 -05:00
Chris Kleeschulte
9bdd2aa86d
Fixed sorting and filtering problem.
2017-11-08 19:01:13 -05:00
Chris Kleeschulte
af23a8c6e2
Removed console.log
2017-11-08 09:37:25 -05:00
Chris Kleeschulte
9a00622de4
Fixed getAddressHistory.
2017-11-07 21:37:54 -05:00
Chris Kleeschulte
9a1f1db523
Fixed ordering of txs.
2017-11-07 15:36:38 -05:00
Chris Kleeschulte
6b8129fdb3
Fixed getAddressHistory.
2017-11-07 00:30:26 -05:00
Chris Kleeschulte
c2117146c1
Fixed where next is being called.
2017-11-06 19:32:00 -05:00
Chris Kleeschulte
b1fe37c260
Fixed missed call to next.
2017-11-06 19:08:35 -05:00
Chris Kleeschulte
74d3c0212b
Improved getAddressHistory.
2017-11-05 18:14:19 -05:00
Chris Kleeschulte
d55986be57
Fixed tests.
2017-11-05 07:57:27 -05:00
Chris Kleeschulte
00a5ea65b4
Removed unneeded indexes.
2017-11-04 17:47:29 -04:00
Chris Kleeschulte
765b7288a7
wip on fix for txs list.
2017-11-03 18:23:42 -04:00
Chris Kleeschulte
a63761d0b2
Fixed call to map series.
2017-11-02 17:41:50 -04:00
Chris Kleeschulte
b9887492bf
Removed retrieving the mempool right after sync. Need to re-think this.
2017-11-02 13:46:26 -04:00
Chris Kleeschulte
725b58cd15
Fixed finding txs after sending.
2017-11-02 11:59:06 -04:00
Chris Kleeschulte
baf75b2d60
Fixed confirmations.
2017-11-01 16:00:39 -04:00
Chris Kleeschulte
bc8dee5810
Fixed waiting for blocks to finish processing before processing a reorg.
2017-10-30 15:30:01 -04:00
Chris Kleeschulte
5e1e67d4e6
Fixed variable initialization.
2017-10-26 17:50:41 -04:00
Chris Kleeschulte
0a4e0dd9fd
Fixed tests and repaired reorg logic.
2017-10-26 15:35:01 -04:00
Chris Kleeschulte
299b905d5b
wip on reorg changes.
2017-10-26 09:59:39 -04:00
Chris Kleeschulte
2478795213
Disable mempool until system is synchronized.
2017-10-25 15:17:11 -04:00
Chris Kleeschulte
ad650c383e
Added a block cache to speed up syncing.
2017-10-24 17:46:34 -04:00
Chris Kleeschulte
99adf07290
Chnaged reorg to use cache hashes.
2017-10-24 14:25:34 -04:00
Chris Kleeschulte
4f46947516
Fixed tx api call.
2017-10-20 10:04:33 -04:00
Chris Kleeschulte
9f4ebfb1f9
Fixed mempool search by address.
2017-10-20 07:56:48 -04:00
Chris Kleeschulte
b129bc1048
WIP
2017-10-19 19:32:20 -04:00
Chris Kleeschulte
f90e0d2ed5
Removed header interval.
2017-10-19 15:05:38 -04:00
Chris Kleeschulte
98be272925
Added new index for spent txs.
2017-10-18 19:03:04 -04:00
Chris Kleeschulte
5a5dbb624c
Adding in spent status.
2017-10-17 19:39:14 -04:00
Chris Kleeschulte
880f98e669
Fixed pagination for getAddressHistory.
2017-10-17 17:46:11 -04:00
Chris Kleeschulte
0dc69d87af
Added noTxList suppert for getAddressSumaary.
2017-10-17 14:41:54 -04:00
Chris Kleeschulte
22678e3838
Added tx cache.
2017-10-17 14:24:12 -04:00
Chris Kleeschulte
e15695cfa6
Fixed get utxos to retrieve mempool txs.
2017-10-12 17:53:24 -04:00
Chris Kleeschulte
1af9c07bfa
Fixed issue with query mempool option.
2017-10-12 15:06:13 -04:00
Chris Kleeschulte
93db6790e2
Repairs to getAddressSummary.
2017-10-11 16:38:28 -04:00
Chris Kleeschulte
7da189acf9
Added warning about re-querying for sync blocks.
2017-10-10 14:10:21 -04:00
Chris Kleeschulte
316ce66c87
Fixing reorg.
2017-10-10 10:55:20 -04:00
Chris Kleeschulte
5007104a4f
Fixed mempool gathering.
2017-10-09 16:24:25 -04:00
Chris Kleeschulte
fba71ee1aa
Fixed get raw tx calls that failed when input values were also in
...
mempool.
2017-10-09 13:37:10 -04:00
Chris Kleeschulte
ce653b5a12
Fixed getting txs from memory pool from calls to getAddressHistory.
2017-10-08 14:15:01 -04:00
Chris Kleeschulte
f10106f9a0
Added sort options to get address history.
2017-10-07 15:48:11 -04:00
Chris Kleeschulte
1d7c998468
Part deux.
2017-10-07 15:36:44 -04:00
Chris Kleeschulte
0007848c07
Fixed logging timing issue.
2017-10-07 15:22:28 -04:00
Chris Kleeschulte
aa6570d23a
Fixed issue with missing header on log entry.
2017-10-07 14:18:14 -04:00
Chris Kleeschulte
d7fb9e9c27
Fixed tests.
2017-10-06 15:22:14 -04:00
Chris Kleeschulte
7c392e9c94
Added locating double spend txs.
2017-10-06 10:30:26 -04:00
Chris Kleeschulte
1e04e08411
Added search memory pool for txs with certain addresses.
2017-10-06 10:02:38 -04:00
Chris Kleeschulte
c7c268f00a
Adding search mempool by address.
2017-10-05 16:18:16 -04:00
Chris Kleeschulte
67ce58d698
Fixed logging issues.
2017-10-04 18:30:22 -04:00
Chris Kleeschulte
1f4c5e5e1f
Fixing recently sent items.
2017-10-04 08:34:52 -04:00
Chris Kleeschulte
b8bc017136
Fixed reorg where we don't have all the previous blocks.
2017-10-02 10:13:33 -04:00
Chris Kleeschulte
ffa63fc146
Added reorg fixes.
2017-10-01 19:15:20 -04:00
Chris Kleeschulte
8360336ad2
Fixed start up of block service.
2017-09-28 22:01:14 -04:00
Chris Kleeschulte
f47b43754c
Fixed reorg.
2017-09-28 19:25:58 -04:00
Chris Kleeschulte
09b365772c
more reorg stuff.
2017-09-28 11:01:57 -04:00
Chris Kleeschulte
74542a3e7f
Changed to a more traditional reorg detection.
2017-09-27 14:06:36 -04:00
Chris Kleeschulte
0c75879084
Fixed for getDetailedTransaction.
2017-09-27 10:21:52 -04:00
Chris Kleeschulte
2a1af1e93f
Merge pull request #523 from nitsujlangston/gentlerDbClose
...
wait for db to gracefully close before stopping db service
2017-09-27 10:08:56 -04:00
Justin Langston
2dc0764950
stop db service if/when closed
2017-09-26 20:54:36 -04:00
Chris Kleeschulte
2726c7eb86
Fixed a few routes.
2017-09-26 19:40:25 -04:00
Chris Kleeschulte
ee97cb5b12
Added fixes for reorg and added time since last block.
2017-09-26 11:05:24 -04:00
Chris Kleeschulte
f5ad8b89fb
Added next hash support in header service.
2017-09-25 21:21:05 -04:00
Chris Kleeschulte
b8e73ae238
Fixed sanity check when block height is zero.
2017-09-25 15:45:15 -04:00
Chris Kleeschulte
3383771b10
Added better reporting when new blocks come in.
2017-09-25 14:51:33 -04:00
Chris Kleeschulte
dcf1426221
Added a reset tip routine.
2017-09-25 14:31:07 -04:00
Chris Kleeschulte
a5f9d1a6d0
Fixed edge case reorg issues.
2017-09-24 12:34:27 -04:00
Chris Kleeschulte
b160814706
Clean up.
2017-09-22 14:16:02 -04:00
Chris Kleeschulte
a1db879fdc
Fixed tests.
2017-09-22 13:31:52 -04:00
Chris Kleeschulte
ada997c8bd
Added reorg test.
2017-09-21 17:05:09 -04:00
Chris Kleeschulte
d5e5904329
Added more checks.
2017-09-19 11:03:39 -04:00
Chris Kleeschulte
66e82a3fe7
Fixed edge case where new peer has unexpectedly low number of blocks.
2017-09-19 08:48:49 -04:00
Chris Kleeschulte
de163ad4c9
Fixed issues with reorg again.
2017-09-14 10:10:07 -04:00
Chris Kleeschulte
7350fb3bf6
Fixed reorg edge case scenario.
2017-09-13 11:02:48 -04:00
Chris Kleeschulte
6a18c1e46e
Fixed issue with reorg.
2017-09-11 15:41:27 -04:00
Chris Kleeschulte
82dd1dfe3f
Fixed reorging.
2017-09-08 14:18:55 -04:00
Chris Kleeschulte
02ff6c680c
Fixed sync resume (memory issues).
...
Input values on tx index are no longer lazy loaded.
2017-09-07 18:55:33 -04:00
Chris Kleeschulte
3dd9aea3dd
Fixed issue where new blocks were not indexed by header service.
2017-09-01 15:57:03 -04:00
Chris Kleeschulte
99d8a6f7ae
Usability upgrades:
...
- node will start services prior to bcoin becoming synchronized
- resume after peer disconnection and reconnection
- error message when using non-supported versions of nodeJS.
2017-08-31 15:26:59 -04:00
Chris Kleeschulte
a0031c7e00
Upgrades
...
- Updated to latest bcoin
- Gave the db a bit more time to shutdown
- Fixed resume functionality if peer disconnects and reconnects later
2017-08-30 18:21:51 -04:00
Chris Kleeschulte
4bd3a06edc
Fixed block sync where blocks come in all at once.
2017-08-29 16:01:11 -04:00
Chris Kleeschulte
7a8bae64a4
wip
2017-08-28 20:05:00 -04:00
Chris Kleeschulte
4ebb7ac569
Added 'listenAddr' to p2p options.
2017-08-28 15:14:52 -04:00
Chris Kleeschulte
69f239a58b
Added regtests for block, tx.
2017-08-25 17:34:20 -04:00
Chris Kleeschulte
f0360a78a0
Fixed a problem with address balances.
2017-08-25 10:36:00 -04:00
Chris Kleeschulte
678cb83d61
Fixed tests for altered getAddressHistory and getAddressSummary calls.
2017-08-24 09:50:29 -04:00
Chris Kleeschulte
fc6ee8e193
Fixed README for this release.
2017-08-21 11:28:45 -04:00
Jason Dreyzehner
abd21a5b08
fix(start): remove stray log (which looks like an error)
2017-08-18 19:38:01 -04:00
Chris Kleeschulte
a14de13e49
Removed routes.txt
2017-08-18 17:51:47 -04:00
Chris Kleeschulte
be97b3407f
Fixed isSynced.
2017-08-18 20:18:00 +00:00
Chris Kleeschulte
5785d46258
Removed symlink.
2017-08-18 15:23:36 -04:00
Chris Kleeschulte
1a5e25d4c1
Fixed a problem were I was indexing the wrong output value.
2017-08-18 14:24:03 -04:00
Chris Kleeschulte
6c8d8e437b
Added isSynced.
2017-08-18 12:54:13 -04:00
Chris Kleeschulte
2fa6b5c314
Fixed tests.
2017-08-18 10:48:54 -04:00
Chris Kleeschulte
b4b040addd
Removed symlink.
2017-08-17 21:57:24 -04:00
Chris Kleeschulte
f1da1e7612
Fixed reorg tests.
2017-08-17 21:12:33 -04:00
Chris Kleeschulte
07b1ff3111
Added regtest reorg tests,
2017-08-17 19:38:06 -04:00
Chris Kleeschulte
11c9aa022f
Fixed issue with mempool transactions.
2017-08-15 21:37:29 -04:00
Chris Kleeschulte
d7169ff639
Get transaction fixes.
2017-08-15 19:38:19 -04:00
Chris Kleeschulte
f10dbaf047
Various fixes.
2017-08-15 15:42:08 -04:00
Chris Kleeschulte
72770944db
Address routes fixes.
2017-08-15 12:48:16 -04:00
Chris Kleeschulte
d0eaedbb01
Headers are no longer persisted.
2017-08-14 12:04:40 -04:00
Chris Kleeschulte
b4fdfa3d42
Fixed minor sync issue.
2017-08-11 18:00:19 -04:00
Chris Kleeschulte
a1fbf20317
Refactored onHeaders.
2017-08-11 11:49:57 -04:00
Chris Kleeschulte
c7ee57f224
Fixed network name when referring to bcoin's main net.
2017-08-10 18:11:04 -04:00
Chris Kleeschulte
bf7cd67269
Fixed address/transaction indexing.
2017-08-10 17:46:27 -04:00
Chris Kleeschulte
abf52f8136
Fixed initial sync issue with headers.
2017-08-10 11:23:28 -04:00
Chris Kleeschulte
d53abfd023
Removed insight symlinks.
2017-08-10 00:01:00 -04:00
Chris Kleeschulte
f2672205e5
Fixed issue where incorrect best hash was being selected.
2017-08-09 23:54:33 -04:00
Chris Kleeschulte
3575b6eda3
Fixed timestamp service for the proper block hashes.
2017-08-09 19:40:40 -04:00
Chris Kleeschulte
cbf59e8e72
Fixed height on block load.
2017-08-09 17:53:52 -04:00
Chris Kleeschulte
9875d81df1
Fixed issue with tip.
2017-08-09 16:43:56 -04:00
Thomas Bright
54130ce77b
fixed merge conflicts
2017-08-09 14:32:26 -04:00
Justin Langston
5db694f93e
Merge branch 'blocks' of github.com:bitpay/bitcore-node into embeddedBcoinStartupHandling
2017-08-09 13:59:05 -04:00
Justin Langston
24e3b3df07
Merge branch 'blocks' of github.com:bitpay/bitcore-node into embeddedBcoinStartupHandling
2017-08-09 13:27:43 -04:00
Justin Langston
ccf51ec337
catching the synced state better
...
simpler connect handling
2017-08-09 13:24:24 -04:00
Jason Dreyzehner
30bcddd34d
refactor: downlevel, use strict
2017-08-09 12:51:18 -04:00
Jason Dreyzehner
16c7708dd7
refactor: pacify jshint
2017-08-09 12:51:18 -04:00