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
@@ -15,10 +15,10 @@ from sqlalchemy import select
|
||||
|
||||
import app.bets.confirmation # noqa: F401 (registers the "bet" handler)
|
||||
from app.db.models import AuditLog, PendingTransaction, Round, RoundParticipant, User, UtxoEvent
|
||||
from app.electrum.client import ElectrumEndpoint
|
||||
from plm_engine.electrum.client import ElectrumEndpoint
|
||||
from app.electrum.listener import ElectrumListener
|
||||
from app.electrum.merkle import header_merkle_root, merkle_root_from_branch, proof_matches_header
|
||||
from app.rounds.draw import header_meets_its_own_target
|
||||
from plm_engine.electrum.merkle import header_merkle_root, merkle_root_from_branch, proof_matches_header
|
||||
from plm_engine.headers import header_meets_its_own_target
|
||||
from app.tx.confirmation import poll_once
|
||||
from app.wallet.hd import derive_user_address
|
||||
from tests.unit.fake_network import FakeNetwork
|
||||
|
||||
Reference in new issue
Block a user