1
0
mirror of https://github.com/romanz/electrs.git synced 2024-11-19 01:43:29 +01:00
Commit Graph

27 Commits

Author SHA1 Message Date
Roman Zeyde
7d521f8fe8 Add address->scripthash conversion tool 2023-04-13 22:03:24 +03:00
jroulin
3d7c35b0a4
contrib: rename xpub into get_balance (#627)
* rename xpub into get_balance

- support a single address or an xpub address
- detail the balance per address when using an xpub

* Replace 'virtualenv' by 'python -m venv'

---------

Co-authored-by: Roman Zeyde <me@romanzey.de>
2023-03-12 22:44:00 +02:00
Eshaan Aggarwal
cadc612b61
Add CONTRIBUTING.md (#838) 2023-02-04 14:43:19 +02:00
Roman Zeyde
1b4cc1ec0f Support latest Bitcoin Core in contrib/mempool.py 2022-04-01 16:29:57 +03:00
Roman Zeyde
e101739607 Allow only subscribing to scripthashes @ contrib/history.py 2022-02-04 15:23:40 +02:00
Roman Zeyde
a90871a9fc Fixup --log-filters documentation and examples
Drop `-v` and `--verbose` mentions.
2021-11-12 19:59:11 +02:00
Frederic Lepied
b114826725 contrib/xpub.py support ypub/zpub 2021-10-15 15:05:18 +03:00
Roman Zeyde
2ce22bd2a3 Support testnet and regtest in contrib/xpub.py 2021-10-14 18:44:16 +03:00
Roman Zeyde
f927e237f7 Fix contrib/xpub.py
Following https://github.com/romanz/electrs/issues/549
2021-10-14 08:56:40 +03:00
Frederic Lepied
74f13419a8 enhance contribs to allow to connect to an external server 2021-10-13 15:06:03 +02:00
Roman Zeyde
d085b60fb0 Don't use TRACE verbosity in contrib/electrs.service 2021-09-19 14:15:52 +03:00
Roman Zeyde
0a04888673 Implement 'blockchain.scripthash.listunspent' RPC
Following #475
2021-09-17 14:01:15 +03:00
Roman Zeyde
1fa77aefa6 Fix RPC results sort in history.py
Traceback (most recent call last):
  File "history.py", line 148, in <module>
    main()
  File "history.py", line 70, in main
    for balance, addr in sorted(zip(balances, args.address)):
TypeError: '<' not supported between instances of 'dict' and 'dict'
2021-09-16 10:30:02 +03:00
Roman Zeyde
538d460f25 Log unconfirmed balance at history.py 2021-09-15 20:50:57 +03:00
Roman Zeyde
fb88bccb0a Propagate Electrum JSON RPC error 2021-08-28 20:05:39 +03:00
Roman Zeyde
4b24e649d6 Move local-electrum.bash to contrib/ 2021-08-26 23:16:00 +03:00
Roman Zeyde
c7eb0ba56a Support regtest in contrib/history.py 2021-08-23 11:56:51 +03:00
Roman Zeyde
c754485320 Add blockchain.scripthash.get_balance RPC 2021-07-04 18:30:23 +03:00
Roman Zeyde
423e4c7922 Rewrite Python scripts
Also, improve balance/history display
2021-06-18 17:49:29 +03:00
Roman Zeyde
8a39d47092 Fix contrib/get_tip.py 2021-05-25 18:08:21 +03:00
Roman Zeyde
d4559a31e6 Add initial support for JSON-RPC batching 2021-05-22 21:38:34 +03:00
Roman Zeyde
3780d7d48b Refactor and sync using p2p protocol 2021-04-14 18:38:59 +03:00
Roman Zeyde
a02d31eb06
Update contrib/ scripts to use latest PyCoin 2020-04-11 18:41:44 +03:00
Roman Zeyde
b33b570704
Add a script for computing tx fee 2019-08-03 14:46:39 +03:00
Roman Zeyde
89940cf973
Update contrib/mempool.py for bitcoind 0.18 2019-05-18 10:35:27 +03:00
Roman Zeyde
1f1857947c
Consolidate tools/* under contrib/ 2018-11-22 10:52:21 +02:00
Roman Zeyde
698156eb6e
Add systemd service file example 2018-10-01 21:13:07 +03:00