B1: plm_engine takes the modules without a database (ADR-59)
HD derivation (pure part), PSBT builder, Electrum client/merkle/quorum/scripthash, network profile, addresses and header checks move to plm_engine; the old stack imports them from there. A test forbids framework imports in the package. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
c9784efa07
commit
3ee60a23da
87 files changed
+290
-260
No files matched your search
@@ -38,6 +38,6 @@ def _registration_open(monkeypatch):
|
||||
# target (`0x207fffff`) and this swaps in a limit that allows it. Done at import, not in a
|
||||
# fixture, because some test modules mine headers while they are being collected. The
|
||||
# tests that exercise the limit itself put `MAINNET_POW_LIMIT` back with monkeypatch.
|
||||
from app.rounds import draw as _draw # noqa: E402
|
||||
from plm_engine import headers as _draw # noqa: E402
|
||||
|
||||
_draw.POW_LIMIT = (1 << 256) - 1
|
||||
Reference in new issue
Block a user