Skip to content

Add/kdf/streaming methods#457

Merged
smk762 merged 60 commits intodevfrom
add/kdf/streaming-methods
Jun 13, 2025
Merged

Add/kdf/streaming methods#457
smk762 merged 60 commits intodevfrom
add/kdf/streaming-methods

Conversation

@smk762
Copy link
Copy Markdown
Contributor

@smk762 smk762 commented Apr 24, 2025

Closes #413

  • Fee estimation:
    • remove start_eth_fee_estimator & stop_eth_fee_estimator and references to these obsolete methods
    • update get_eth_estimated_fee_per_gas
  • Task managed activation:
    • task::enable_bch::cancel
    • task::enable_bch::init
    • task::enable_bch::status
    • task::enable_bch::user_action
    • task::enable_tendermint::cancel
    • task::enable_tendermint::init
    • task::enable_tendermint::status
    • task::enable_tendermint::user_action
    • task::enable_eth::cancel
    • task::enable_eth::init
    • task::enable_eth::status
    • task::enable_eth::user_action

GLEECBTC/komodo-defi-framework#1962 (comment)

  • Streaming
    • Remove streaming section from MM2.json config doc
    • stream::balance::enable
    • stream::network::enable
    • stream::heartbeat::enable
    • stream::fee_estimator::enable
    • stream::swap_status::enable
    • stream::order_status::enable
    • stream::tx_history::enable
    • stream::orderbook::enable
    • stream::disable

To test the stream methods, after launching KDF, open http://localhost:7783/event-stream?id=1 (update port and id as required) and leave it open. From here, as you enable streams they will appear in this browser tab. In some cases you will need to initiate an action to cause an event for the stream to report (e.g. do a swap, send some funds etc).

All new methods are in the postman collection of this branch, and the docs should indicate any hidden traps (like not activating a coin with tx_history: true, and expecting stream::tx_history::enable to magically work anyway), so let me know if you have any problems so the docs can be updated to cover these sorts of thing.

@smk762 smk762 marked this pull request as draft April 24, 2025 08:46
@smk762 smk762 added doc needs update new docs P0 Critical issue that needs to be fixed kdf-2.4.0-beta labels Apr 24, 2025
@github-actions
Copy link
Copy Markdown

Preview for merge commit: b97c5c0, available on cloudflare at: https://6076538a.komodo-docs.pages.dev/en/docs/

1 similar comment
@github-actions
Copy link
Copy Markdown

Preview for merge commit: b97c5c0, available on cloudflare at: https://6076538a.komodo-docs.pages.dev/en/docs/

@github-actions
Copy link
Copy Markdown

Preview for merge commit: b97c5c0, available on cloudflare at: https://0060ea0e.komodo-docs.pages.dev/en/docs/

1 similar comment
@github-actions
Copy link
Copy Markdown

Preview for merge commit: b97c5c0, available on cloudflare at: https://0060ea0e.komodo-docs.pages.dev/en/docs/

@github-actions
Copy link
Copy Markdown

Preview for merge commit: 35522e9, available on cloudflare at: https://45799663.komodo-docs.pages.dev/en/docs/

@github-actions
Copy link
Copy Markdown

Preview for merge commit: ddbf647, available on cloudflare at: https://acdf1887.komodo-docs.pages.dev/en/docs/

@github-actions
Copy link
Copy Markdown

Preview for merge commit: f4258cf, available on cloudflare at: https://591724a9.komodo-docs.pages.dev/en/docs/

@github-actions
Copy link
Copy Markdown

github-actions bot commented May 7, 2025

Preview for merge commit: 24c0bf9, available on cloudflare at: https://8d44e352.komodo-docs.pages.dev/en/docs/

@github-actions
Copy link
Copy Markdown

github-actions bot commented May 7, 2025

Preview for merge commit: 3275976, available on cloudflare at: https://f4b05bad.komodo-docs.pages.dev/en/docs/

@github-actions
Copy link
Copy Markdown

github-actions bot commented May 7, 2025

Preview for merge commit: afed735, available on cloudflare at: https://750da40e.komodo-docs.pages.dev/en/docs/

@github-actions
Copy link
Copy Markdown

github-actions bot commented Jun 3, 2025

Preview for merge commit: 6e18fe3, available on cloudflare at: https://17a27012.komodo-docs.pages.dev/en/docs/

@github-actions
Copy link
Copy Markdown

github-actions bot commented Jun 4, 2025

Preview for merge commit: 35238c1, available on cloudflare at: https://53b61bff.komodo-docs.pages.dev/en/docs/

@github-actions
Copy link
Copy Markdown

github-actions bot commented Jun 5, 2025

Documentation Preview Links

Preview for commit: 45d3ab5
Base URL: https://a85a171f.komodo-docs.pages.dev/en/docs

Changed Documentation Files

Commit: f062c67 - move common structurez

@smk762 smk762 merged commit 5688ba7 into dev Jun 13, 2025
2 checks passed
@github-actions
Copy link
Copy Markdown

Documentation Preview Links

Preview for commit: 4b95698
Base URL: https://3d35fba6.komodo-docs.pages.dev/en/docs

Changed Documentation Files

Commit: f062c67 - move common structurez

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants