Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replacement Cycling with split #422

Draft
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

mplsgrant
Copy link
Collaborator

Issue

Need to run Replacement Cycling and allow interactivity

Solution

Split the Replacement Cycling demo into its constituent parts. Allow monitoring with zmq.

Still needs

Scenario test

Supersedes

#372

@mplsgrant mplsgrant force-pushed the 2024-07-replacement-cycling-split branch from 713df3a to 37f7a70 Compare August 1, 2024 14:55
@mplsgrant mplsgrant mentioned this pull request Aug 1, 2024
@mplsgrant mplsgrant force-pushed the 2024-07-replacement-cycling-split branch from 37f7a70 to 5fbd51a Compare August 1, 2024 16:00
@instagibbs
Copy link

@mplsgrant curious how much has the scenario changed since I last looked?

@mplsgrant
Copy link
Collaborator Author

@instagibbs The mechanics have stayed exactly the same. What's changed is splitting the steps apart so we can run them out of order.

@mplsgrant mplsgrant self-assigned this Aug 2, 2024
@mplsgrant mplsgrant force-pushed the 2024-07-replacement-cycling-split branch 2 times, most recently from 895a161 to 1309250 Compare August 7, 2024 15:56
update rep cycle w/ better logging

Add fixes, notes

Author:    Greg Sanders <[email protected]>
Date:      Wed May 29 11:30:39 2024 -0400

delint rep cycling file

delint
fix spelling
slightly modify some log entries

improve logging

add sync_all()

fixup spaces in logging

fix indentation

align alice timeout heights

specify hash

fixup spelling lints

show mempool

log funding coins

add attribution

make ruff happy

update language
improve args

log args

fixup args

fix keys

fixup arg

len is a fn

add broadcast and get_raw_mempool

rename broadcast_tx to broadcast_txn

clean up unused variable names

perform ruff format

add zmq subscriber function

incorporate zmq subscriber function

move subscriber to class; unpack struct

fixup logging

setup_alice becomes setup_nodes

add type hint CScript

remove self.wallet indirection

use blockheight in log message

ruff format rc_alice

comment out zmq for the moment

add type hint to broadcast_txn

add type hint to create_chan_state

format import

use dashes instead of underscores

show hex of txn instead of raw CTransaction

remove extra broadcast-tx flag; clarify help text

improve input handling

format rc_alice
@mplsgrant mplsgrant force-pushed the 2024-07-replacement-cycling-split branch from 1309250 to 6754c5c Compare August 13, 2024 19:18
@mplsgrant mplsgrant force-pushed the 2024-07-replacement-cycling-split branch from 6754c5c to f492fa3 Compare August 13, 2024 21:14
@josibake
Copy link
Collaborator

could be nice to see if this "just works" with the new commander launcher

@mplsgrant
Copy link
Collaborator Author

@josibake I agree, but I'm going to leave this on the back burner for a bit, and then revisit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants