79 Commits

Author SHA1 Message Date
nymkappa
2c431d5df5 Optimize RPC calls 2022-03-15 21:16:02 +01:00
softsimon
21cbea9e0a Merge node-bitcoin into the project 2022-03-15 14:44:31 +01:00
nymkappa
24310d0c8f Use bitcoin RPC getblock because esplora returns int for difficulty - Fix some css in mining dashboard 2022-03-13 16:08:33 +01:00
Antoni Spaanderman
c45f301424 Merge branch 'master' into regtest-1 2022-03-09 17:55:09 +01:00
softsimon
a63c07e39e Display unknown for non standard output types
fixes #1262
2022-03-09 16:28:26 +01:00
Antoni Spaanderman
95b8a77bf1 add non null assertion 2022-03-08 20:59:46 +01:00
Antoni Spaanderman
27f6654299 Merge branch 'master' into regtest-1 2022-03-08 19:45:03 +01:00
softsimon
908798d8fc Only return unique address prefix autocomplete
fixes #1290
2022-02-27 15:58:09 +03:00
Antoni Spaanderman
cfaf8b037a Merge branch 'master' into regtest-1 2022-02-17 16:05:22 +01:00
Antoni Spaanderman
8902107663 implement /api/mempool 2022-02-13 13:52:04 +01:00
Antoni Spaanderman
00f511cec0 Merge branch 'master' into regtest-1
for cla bot
2022-02-04 12:34:42 +01:00
softsimon
63fd1ec639 Merge branch 'master' into genesis-outspend 2022-02-03 13:48:19 +04:00
nymkappa
5ca98af7d1 Generate mining basic pool ranking (sorted by block found) for a specified timeframe 2022-01-28 13:52:35 +09:00
Antoni Spaanderman
464a3aa0bb fix error with invalid chaintips 2022-01-22 15:13:10 +01:00
Antoni Spaanderman
142543cc35 rethrow the error if it wasnt the genesis coinbase 2022-01-19 08:27:51 +01:00
Antoni Spaanderman
5202e669ce outputs of genesis coinbase are always unspent 2022-01-18 22:25:38 +01:00
Antoni Spaanderman
7ad85c33b6 dont use hardcoded genesis coinbase and block hash
fixes #1128
2022-01-18 21:55:09 +01:00
softsimon
3450ff97ff Utilize gettxout to display spent/outspent
fixes #1088
2022-01-15 22:09:04 +04:00
softsimon
be8b15906e Correcting minor interface typing error 2021-12-16 04:53:27 +04:00
softsimon
19cb3e216d Display missing taproot inner script
fixes #973
2021-12-06 00:27:14 +04:00
softsimon
18d17e5f29 Handle new type of Electrum Server error.
fixes #872
2021-10-23 11:46:38 +04:00
softsimon
0450a86054 Adding POST /tx API to bitcoind mode
fixes #777
2021-09-26 22:46:23 +04:00
softsimon
54e6f408ce Elements blockchain parser. Save all peg in/out i the database. 2021-09-19 02:26:44 +04:00
softsimon
ccee78bc57 Refactoring Bitcoin RPC client implementation 2021-09-18 13:18:47 +04:00
softsimon
333094783f Update backend/src/api/bitcoin/bitcoin-api.interface.ts
Co-authored-by: Miguel Medeiros <miguel@miguelmedeiros.com.br>
2021-09-17 19:22:15 +04:00
softsimon
8d76798af3 Handle changes to address RPC api in bitcoin core 22
fixes #778
2021-09-17 19:22:15 +04:00
softsimon
41f95fa4c7 Liquid: Display unconfidential address and fix tracking
fixes #761
2021-09-06 10:20:31 +04:00
softsimon
3402fbd206 Handle string error messages.
fixes #763
2021-09-04 01:32:36 +04:00
softsimon
645986b7fc Backend: Bumping Typescript version to 4.4.2 (#748)
* Backend: Bumping Typescript version to 4.4.2

* Replacing any types with instanceOf checks.
2021-08-31 15:09:33 +03:00
softsimon
16fa2a0ed7 Removing "raw block". 2021-08-03 18:15:33 +03:00
Priyansh
c7fe4765d0 Raw Hex of Objects in Details Tab #616 (#682)
* Added Block Hex in Details

* Added Raw Tx in Transaction Details

* Backend Updates
2021-08-03 14:27:02 +03:00
softsimon
c6655d4a05 Perform a blockchain sync check before updating initial difficulty ad… (#677)
* Perform a blockchain sync check before updating initial difficulty adjustment.

fixes #603

* Updating logger messages.
2021-08-01 15:49:26 +03:00
Rishabh
ecee484359 Added missing block header API (#630)
* header API frontend

* Block Header API endpoint added to Node.js backend

* updated package-lock.json

Co-authored-by: Rishabh <rishabh@Rajeshs-MacBook-Pro.local>
2021-07-19 02:26:16 +03:00
softsimon
885be5579b Fix crash issues related to new unconfirmed transactions in bitcoind mode.
fixes #391
2021-04-27 02:13:48 +04:00
softsimon
58402c008f CPFP support (#395)
* CPFP support.

fixes #5
fixes #353
fixes #360

* Use effectiveFeePerVsize for mempool statistics.

* Renaming endpoint cpfp-info to just cpfp.

* Renaming decended to BestDescendant.

* Updating language file with new strings.
2021-03-18 23:47:40 +07:00
softsimon
9cd67d878f bitcoind: Parse witness scripts from P2SH transactions.
fixes #323
2021-02-03 13:11:14 +07:00
softsimon
65454bf169 Hide address received/sent from address page when using electrum API.
fixes #294
2021-02-01 04:52:24 +07:00
softsimon
ec9fdbe3d6 Adding missing default timeout on all axios requests.
fixes #314
2021-01-30 16:25:22 +07:00
softsimon
5e0f2dda62 Disable support for Electrum TX lookups (require -txindex). 2021-01-24 04:15:06 +07:00
softsimon
ee0feac7ba Correctly error handle getTransaction and set 404 status when not found. 2021-01-24 02:51:22 +07:00
softsimon
61753cdd20 Optionally support second CoreRPC instance as source for the minimum fee. 2021-01-15 22:23:32 +07:00
softsimon
b356ffc452 Config updates. Renamed BITCOIND to CORE_RPC. 2021-01-11 14:53:18 +07:00
softsimon
01671910bf Moved method $validateAddress 2021-01-11 14:30:58 +07:00
softsimon
89d562a989 Bitcoind: Use mempool as address index when doing address prefix search. 2021-01-11 01:51:57 +07:00
softsimon
b4d837cc8d Cache electrum address history fetch a couple of seconds to prevent double requests on address page load. 2021-01-10 19:58:55 +07:00
softsimon
ee915b49ee Electrum: Sort address transactions correctly by confirmed and unconfirmed. 2021-01-10 17:40:05 +07:00
softsimon
ccb36b1048 Loading progressbar for loading address, block transactions and blocks 2021-01-08 21:44:36 +07:00
softsimon
ce9ed01582 Config file updates. electrs -> esplora 2021-01-06 22:49:28 +07:00
softsimon
cb467dc887 Adding bitcoinJS-lib and parse P2SH and P2WSH scripts. 2021-01-06 01:36:28 +07:00
softsimon
c289210dc9 Inform client when Electrum server limit exceeded 2021-01-05 17:30:53 +07:00