SomberNight
1257f21b1b
constants: rm set_testnet/set_mainnet fns with AbstractNet.set_as_network
1 year ago
SomberNight
778aea340e
follow-up testnet4 stuff: trivial clean-up
...
re https://github.com/spesmilo/electrum/pull/9197
localhost in servers list should only be for regtest-like networks
1 year ago
wakiyamap
1d9ff40d0b
Add suport testnet4
1 year ago
SomberNight
2f1095510c
bitcoin.py/transaction.py: API changes: rm most hex usage
...
Instead of some functions operating with hex strings,
and others using bytes, this consolidates most things to use bytes.
This mainly focuses on bitcoin.py and transaction.py,
and then adapts the API usages in other files.
Notably,
- scripts,
- pubkeys,
- signatures
should be bytes in almost all places now.
2 years ago
SomberNight
5e08d6e486
constants: add some more type hints
2 years ago
SomberNight
312f2641e7
don't use bare except
...
use "except Exception", or if really needed explicitly "except BaseException"
3 years ago
SomberNight
57e52da77f
lnaddr: clean-up SEGWIT_HRP vs BOLT11_HRP confusion
...
With signet, SEGWIT_HRP != BOLT11_HRP, so the previous "currency" string
became a flawed concept. Instead we pass around net objects now.
5 years ago
wakiyamap
9f4d7ec6d1
Add net.BOLT11_HRP
5 years ago
wakiyamap
639cd94dcb
add signet support
5 years ago
ThomasV
a642a11936
add another DNS seed
5 years ago
Luke Childs
7b122d2679
Automated BIP39 Recovery, squashed
5 years ago
SomberNight
59a428ea7f
lnworker: re-enable dns seeds for peer-finding bootstrap
...
but only for mainnet
6 years ago
SomberNight
6d8c605307
move lnworker.first_block to constants
6 years ago
SomberNight
c02cc9bb3b
persist recent peers. implement dns seed bootstrapping.
...
dns seeds are currently disabled though, as they always seem to return mainnet nodes.
6 years ago
SomberNight
a5b44d25b0
persist channel db on disk. verify channel gossip sigs.
6 years ago
SomberNight
8ffeb79d01
constants.py: remove duplicate Simnet declaration
6 years ago
SomberNight
f174609158
constants.py: Simnet inherits from Testnet
6 years ago
Janus
8468fc8f68
use same servers for simnet as for regtest
6 years ago
Janus
0abfcd2b6a
lightning: add --simnet and --lightning switches
6 years ago
SomberNight
650225e238
crash reporter UX
...
see #5483
7 years ago
SomberNight
85a7aa291e
bip32: refactor whole module. clean-up.
7 years ago
SomberNight
cdca74aa39
move max_checkpoint from network to constants
7 years ago
Janus
097ac144d9
file reorganization with top-level module
8 years ago
JeremyRand
d1d92e8704
Move BIP44 coin type to net constants.
8 years ago
Janus Troelsen
4f85615734
add simnet support ( #4455 )
8 years ago
fivepiece
b4d71e651b
add regtest support ( #4242 )
...
* add regtest support
* set default regtest ssl and tcp ports to 51002 and 51002
* regtest inherits parameters from testnet
8 years ago
fivepiece
192288c025
change testnet p2wsh-p2sh prefix to 0x024289ef to reflect Upub ( #4210 )
...
* change testnet p2wsh-p2sh prefix to 0x024289ef to reflect Upub
* add testnet p2sh-p2wsh 2of2 multisig test
8 years ago
SomberNight
81b6d65764
refactor network constants
8 years ago