Should issue 7691 be an unconsented dest ownerDir / AccountDelete question rather than a DelegateSet patch? #8074
Unanswered
Krypto-Whitehat
asked this question in
Q&A
Replies: 1 comment
|
Follow-up: the first post did not spell out what a later solution would have to satisfy. A later systemic design, if there is one, has to hit all of these at once (still not choosing an implementation here):
@mvadari thanks for your tipps and notices and sorry for the to fast pull requests.. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
I am not proposing a patch or a PR.
Question: should #7691 be treated as a DelegateSet bug, or as a general unconsented dest
ownerDirvs AccountDelete / resurrection question?What I think I understand (please correct)
AccountDelete::preclaimonly walkskeylet::ownerDir(account):nonObligationDeleter == nullptr->tecHAS_OBLIGATIONS(deletion blocker). Dest must remove it with the type-specific tx.ltDELEGATE) -> counts towardkMaxDeletableDirEntries(1000). Over 1000 ->tefTOO_BIG. Cleanup happens only if preclaim passes.XLS-75:
OwnerNodeis only on the delegating account; Delegate is not a deletion blocker; only the delegator submitsDelegateSet. The implementation stilldirInserts into destownerDir(sfDestinationNode) so dest AccountDelete can find inbound Delegates. That extra link is both:tefTOO_BIGwith no dest tx), andDest-linked creates (develop)
These insert into another account's
ownerDirwithout that account sending the create:sfDestinationNode)tfCloseafter settle delaysfSubjectNode)sfDestinationNode)Check/Escrow/PayChannel inbound: dest is blocked until dest uses a documented cancel/close path (dest agency). Delegate inbound: dest has no such path, so the 1000 cap can be permanent for dest.
That still looks like a pattern (dest
ownerDirinsert without dest create), not a one-fileDelegateSetspecial case. I do not have a design that hits griefing, cleanup, work bounds, and XLS-75 at once, and I am not asking for a rubber stamp on one.All reactions