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

Document every daemon #1377

Merged
merged 1 commit into from Jul 3, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
61 changes: 61 additions & 0 deletions docs/daemons.md
@@ -0,0 +1,61 @@
# Peatio daemons

## amqp:deposit_coin

This daemon receives request for processing and validating deposit.

## amqp:deposit_coin_address

This daemon creates new addresses for you.

## amqp:market_ticker

This daemon updates market ticker when some orders or trades are created / updated.

## amqp:matching

This daemon matches orders and sends them to amqp:trade_executor.

## amqp:order_processor

This daemon processes cancelation of orders.

## amqp:pusher_market

This daemon delivers new trade to Pusher.

## amqp:pusher_member

This daemon delivers events to private member Pusher channel.

## amqp:slave_book

This daemon keeps copy of in-memory orderbook from amqp:matching and updates various data stored in Redis which is needed for trading UI.

## amqp:withdraw_coin

This daemon performs withdraw.

## coins

This daemon monitors blockchain for incoming deposits and forwards them to amqp:deposit_coin.

## global_state

This daemon send orderbook to Pusher every 5 seconds.

## k

This daemon updates k-lines every 15 seconds.

## payment_transaction

This daemon updates number of incoming deposits confirmations and updates the balance.

## withdraw_audit

This daemon validates withdraws and sends them to amqp:withdraw_coin.

## amqp:trade_executor

This daemon performs partial or full fullfilment or two orders.