Commit Graph
127 Commits
Author SHA1 Message Date
Mononaut 65867bce60 Fix unnecessary cpfp 404 responses 2023-03-06 00:02:21 -06:00
nymkappa d682cb218a Use core to fetch block because esplora/electrs still return integer difficulty 2023-03-03 13:59:17 +09:00
Mononaut 41da74f324 Don't try to fetch cpfp if database disabled 2023-03-01 11:36:26 -06:00
nymkappa 8b947a6c67 Enforce BlockExtended use for block indexing - Unify /api/v1/block(s) API(s) response format 2023-02-27 18:00:00 +09:00
nymkappa 06a83efef0 Add config.MEMPOOOL.MAX_BLOCKS_BULK_QUERY parameter (default to 0, API disable) 2023-02-25 14:22:17 +09:00
nymkappa 35f213dd84 Fix median time indexing 2023-02-25 14:22:14 +09:00
nymkappa bdcf848209 Implemented coinstatsindex indexing 2023-02-25 14:22:12 +09:00
nymkappa 2b39fa4cfa Get blocks data set by bulk (non indexed) 2023-02-25 14:22:11 +09:00
Mononaut b8956cb0d8 Reuse HTTP connections to esplora backend 2023-02-18 21:34:09 +07:00
Mononaut 107cdd22e5 keep cached RBF info for 24 hours after tx leaves the mempool 2023-01-17 19:24:57 -06:00
Mononaut cc628aa443 cache, serve & display more comprehensive RBF info 2023-01-17 16:09:16 -06:00
wiz a743112c39 Merge branch 'master' into mononaut/scrollable-blockchain 2023-01-12 22:01:45 +09:00
nymkappa 2e698775f9 Update bitcoin-api-factory so we can use core only if needed 2023-01-08 11:24:23 +01:00
Mononaut b35fbbbbd9 add paginated virtual scrolling to blockchain blocks bar 2023-01-06 10:13:53 -06:00
Mononaut 25c74c4700 get blocks from esplora for cpfp indexer 2022-11-29 11:42:08 +09:00
Mononaut 47f8551429 return more complete cpfp data for mempool transactions 2022-11-29 11:42:08 +09:00
Mononaut bc076a850e calculate & index cpfp packages 2022-11-29 11:42:07 +09:00
Mononaut 482805b132 move block audit endpoint from mining to bitcoin routes 2022-11-25 19:32:50 +09:00
softsimon bcf159e6cb Adding new getTransactionHex api 2022-11-22 21:45:05 +09:00
softsimon 6df0250f88 Make api available on all backends 2022-11-22 19:08:09 +09:00
junderw 71af86f98b Spelling fix 2022-09-10 16:09:43 +09:00
junderw d137b2c604 Fix response codes for various error states 2022-09-10 16:03:31 +09:00
junderw 8cf1a22e0f Feature: Add endpoint for PSBT nonWitnessUtxo inclusion 2022-09-05 23:13:45 +09:00
softsimon e4514e8a01 Fix for difficulty adjustment throwing error before in sync 2022-08-27 10:25:24 +02:00
softsimon 14a7ee32ff Update backend/src/api/bitcoin/bitcoin.routes.ts 2022-07-27 23:33:18 +02:00
Leonardo Lima 6d4ee30a0e feat: parse rpc full block from hex to binary representation 2022-07-27 17:12:33 -03:00
Leonardo Lima 7f4a25baa0 feat: add /block/:hash/raw api route 2022-07-25 17:08:42 -03:00
softsimon bde6bdd6c9 Refactoring backend routes code 2022-07-11 19:15:28 +02:00
nymkappa d1cfdd5931 Merge Lightning backend into Mempool backend 2022-07-08 18:55:26 +02:00
Felipe Knorr Kuhn 40957158db Fix crypto library usage for the Electrum API 2022-07-06 12:34:54 -07:00
wiz 821dd33809 Merge branch 'master' into simon/block-tip-hash-api 2022-07-05 23:48:20 +02:00
Felipe Knorr Kuhn 76dbda0a3e Various typing and build fixes to enable CI 2022-06-27 21:28:21 -07:00
wiz c752d5da9c Merge branch 'master' into simon/block-tip-hash-api 2022-06-23 20:50:01 +09:00
softsimon 5b1b554ee0 Fix for outspends when using esplora 2022-06-23 11:55:56 +02:00
softsimon d7ba9b52eb Batch outspends requests
fixes #1902
2022-06-22 23:42:20 +02:00
softsimon e64bfc039a Adding missing Block Tip Hash API 2022-06-22 13:15:44 +02:00
Mononaut 8c78810ef8 Add API endpoint for block summary data 2022-06-16 02:46:27 +00:00
softsimon e81d36653e Adding fee reveal text 2022-05-20 21:30:01 +04:00
softsimon 4e0b8026f5 Lazy load tx inputs in Bitcoin Core mode
fixes #465
2022-05-20 21:30:01 +04:00
softsimon 79bd744844 Fixes broken fee rate calculation for mempool transactions
fixes #1684
2022-05-20 13:41:30 +04:00
softsimon 4665974059 Fix for transactions being fetched recursively 2022-05-18 15:06:44 +04:00
Antoni Spaanderman 1094ddd1e8 Merge branch 'master' into script-display-2 2022-04-11 21:46:06 +02:00
Antoni Spaanderman 86669c2d0d name tapscript by its name + OP_CHECKSIGADD tapscript opcode detection 2022-04-04 17:16:34 +02:00
softsimon 95159b0f39 Merge pull request #1486 from mempool/simon/bitcoin-api-roundings
Rounding bitcoin api satoshis
2022-04-04 13:18:10 +04:00
Antoni Spaanderman 1bea953ed0 more direct opcode comparison 2022-04-03 21:58:53 +02:00
Antoni Spaanderman dfa614ff25 Completely rewrote convertScriptSigAsm
it now gives identical output to esplora, tested with the following TXs (testnet):

88710a9a6751827490f260e307757543f533c0f18bcd6865794713d263d5f5a4
446b2aad074de94efa28a1e82d2e6016dcb8a8ca38aca1a5a8eac6ef54e56a2e
4cfc410092e9514c14f48b61e20d2d3baf540ae7e981a821dd8c05dd4b7cd591
4b55dde38173174ab09e5571ebffffca798ba11143d28b9770600ff376dc778a
2022-04-03 21:41:12 +02:00
softsimon 698bc9759d Correcting wrong or missing op_codes display
fixes #1210
2022-04-03 13:59:26 +04:00
softsimon 01175d5531 Rounding bitcoin api satoshis
fixes #1466
2022-03-30 11:12:55 +04:00
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