Why construction check create so many request_funds jobs

[MEMORY] Heap: 1106.261375MB Stack: 0.656250MB System: 1260.506973MB GCs: 4
[STATS] Transactions Confirmed: 0 (Created: 0, In Progress: 0, Stale: 0, Failed: 0) Addresses Created: 1
2020/10/05 17:57:16 processing workflow “request_funds” for job “1”
2020/10/05 17:57:16 looking for balance {“value”:“100000000000”,“currency”:{“symbol”:“CKB”,“decimals”:8}} on account {“address”:“ckt1qyqqkrh7t8s4eamj4dhygwqjecl6dgypezuqn6a76m”}
2020/10/05 17:57:16 processing workflow “transfer”
2020/10/05 17:57:16 looking for coin {“value”:“30000000000”,“currency”:{“symbol”:“CKB”,“decimals”:8}}
2020/10/05 17:57:16 waiting for available jobs…

2020/10/05 17:50:13 processed workflow “request_funds” for job “10081”
2020/10/05 17:50:13 processing workflow “transfer”
2020/10/05 17:50:13 looking for coin {“value”:“30000000000”,“currency”:{“symbol”:“CKB”,“decimals”:8}}
2020/10/05 17:50:13 processing workflow “request_funds”
2020/10/05 17:50:13 looking for balance {“value”:“0”,“currency”:{“symbol”:“CKB”,“decimals”:8}}
2020/10/05 17:50:13 processed workflow “request_funds” for job “10082”
2020/10/05 17:50:13 processing workflow “request_funds” for job “10082”
2020/10/05 17:50:13 looking for balance {“value”:“100000000000”,“currency”:{“symbol”:“CKB”,“decimals”:8}} on account {“address”:“ckt1qyqqkrh7t8s4eamj4dhygwqjecl6dgypezuqn6a76m”}
2020/10/05 17:50:13 processed workflow “request_funds” for job “10082”
2020/10/05 17:50:13 processing workflow “transfer”
2020/10/05 17:50:13 looking for coin {“value”:“30000000000”,“currency”:{“symbol”:“CKB”,“decimals”:8}}
2020/10/05 17:50:13 processing workflow “request_funds”
2020/10/05 17:50:13 looking for balance {“value”:“0”,“currency”:{“symbol”:“CKB”,“decimals”:8}}
2020/10/05 17:50:13 processed workflow “request_funds” for job “10083”
2020/10/05 17:50:13 processing workflow “request_funds” for job “10083”
2020/10/05 17:50:13 looking for balance {“value”:“100000000000”,“currency”:{“symbol”:“CKB”,“decimals”:8}} on account {“address”:“ckt1qyqqkrh7t8s4eamj4dhygwqjecl6dgypezuqn6a76m”}
2020/10/05 17:50:13 processed workflow “request_funds” for job “10083”
2020/10/05 17:50:13 processing workflow “transfer”
2020/10/05 17:50:13 looking for coin {“value”:“30000000000”,“currency”:{“symbol”:“CKB”,“decimals”:8}}
2020/10/05 17:50:13 processing workflow “request_funds”
2020/10/05 17:50:13 looking for balance {“value”:“0”,“currency”:{“symbol”:“CKB”,“decimals”:8}}
2020/10/05 17:50:13 processed workflow “request_funds” for job “10084”
2020/10/05 17:50:13 processing workflow “request_funds” for job “10084”
2020/10/05 17:50:13 looking for balance {“value”:“100000000000”,“currency”:{“symbol”:“CKB”,“decimals”:8}} on account {“address”:“ckt1qyqqkrh7t8s4eamj4dhygwqjecl6dgypezuqn6a76m”}

After I send 100000000000 to ckt1qyqqkrh7t8s4eamj4dhygwqjecl6dgypezuqn6a76m, started to create too many jobs, is this normal?

config-file:

{
  "network": {
    "blockchain": "CKB",
    "network": "Dev"
  },
  "data_directory": "ckb-data",
  "http_timeout": 300,
  "max_retries": 5,
  "retry_elapsed_time": 0,
  "max_online_connections": 120,
  "max_sync_concurrency": 64,
  "tip_delay": 300,
  "log_configuration": false,
  "construction": {
    "stale_depth": 24,
    "ignore_broadcast_failures": false,
    "clear_broadcasts": false,
    "broadcast_behind_tip": false,
    "block_broadcast_limit": 0,
    "rebroadcast_all": false,
    "results_output_file": "./result.json",
    "workflows": [{
        "name": "request_funds",
        "concurrency": 1,
        "scenarios": [{
            "name": "find_account",
            "actions": [{
                "input": "{\"symbol\":\"CKB\", \"decimals\":8}",
                "type": "set_variable",
                "output_path": "currency"
              },
              {
                "input": "{\"minimum_balance\":{\"value\": \"0\", \"currency\": {{currency}}}, \"create_limit\":1}",
                "type": "find_balance",
                "output_path": "random_account"
              }
            ]
          },
          {
            "name": "request",
            "actions": [{
              "input": "{\"account_identifier\": {{random_account.account_identifier}}, \"minimum_balance\":{\"value\": \"100000000000\", \"currency\": {{currency}}}}",
              "type": "find_balance",
              "output_path": "loaded_account"
            }]
          }
        ]
      },
      {
        "name": "create_account",
        "concurrency": 1,
        "scenarios": [{
          "name": "create_account",
          "actions": [{
              "input": "{\"network\":\"Dev\", \"blockchain\":\"CKB\"}",
              "type": "set_variable",
              "output_path": "network"
            },
            {
              "input": "{\"curve_type\": \"secp256k1\"}",
              "type": "generate_key",
              "output_path": "key"
            },
            {
              "input": "{\"network_identifier\": {{network}}, \"public_key\": {{key.public_key}}}",
              "type": "derive",
              "output_path": "account"
            },
            {
              "input": "{\"account_identifier\": {{account.account_identifier}}, \"keypair\": {{key}}}",
              "type": "save_account"
            }
          ]
        }]
      },
      {
        "name": "transfer",
        "concurrency": 10,
        "scenarios": [{
            "name": "transfer_dry_run",
            "actions": [{
                "input": "{\"network\":\"Dev\", \"blockchain\":\"CKB\"}",
                "type": "set_variable",
                "output_path": "transfer_dry_run.network"
              },
              {
                "input": "{\"symbol\":\"CKB\", \"decimals\":8}",
                "type": "set_variable",
                "output_path": "currency"
              },
              {
                "input": "\"10000000000\"",
                "type": "set_variable",
                "output_path": "dust_amount"
              },
              {
                "input": "\"1200\"",
                "type": "set_variable",
                "output_path": "max_fee_amount"
              },
              {
                "input": "{\"operation\":\"addition\", \"left_value\": {{dust_amount}}, \"right_value\": {{max_fee_amount}}}",
                "type": "math",
                "output_path": "send_buffer"
              },
              {
                "input": "\"30000000000\"",
                "type": "set_variable",
                "output_path": "reserved_amount"
              },
              {
                "input": "{\"require_coin\":true, \"minimum_balance\":{\"value\": {{reserved_amount}}, \"currency\": {{currency}}}}",
                "type": "find_balance",
                "output_path": "sender"
              },
              {
                "input": "{\"operation\":\"subtraction\", \"left_value\": {{sender.balance.value}}, \"right_value\": {{send_buffer}}}",
                "type": "math",
                "output_path": "available_amount"
              },
              {
                "input": "{\"minimum\": {{dust_amount}}, \"maximum\": {{available_amount}}}",
                "type": "random_number",
                "output_path": "recipient_amount"
              },
              {
                "input": "{\"recipient_amount\":{{recipient_amount}}}",
                "type": "print_message"
              },
              {
                "input": "{\"operation\":\"subtraction\", \"left_value\": {{sender.balance.value}}, \"right_value\": {{recipient_amount}}}",
                "type": "math",
                "output_path": "total_change_amount"
              },
              {
                "input": "{\"operation\":\"subtraction\", \"left_value\": {{total_change_amount}}, \"right_value\": {{max_fee_amount}}}",
                "type": "math",
                "output_path": "change_amount"
              },
              {
                "input": "{\"change_amount\":{{change_amount}}}",
                "type": "print_message"
              },
              {
                "input": "{\"operation\":\"subtraction\", \"left_value\": \"0\", \"right_value\":{{sender.balance.value}}}",
                "type": "math",
                "output_path": "sender_amount"
              },
              {
                "input": "{\"not_account_identifier\":[{{sender.account_identifier}}], \"not_coins\":[{{sender.coin}}], \"minimum_balance\":{\"value\": \"0\", \"currency\": {{currency}}}, \"create_limit\": 100, \"create_probability\": 50}",
                "type": "find_balance",
                "output_path": "recipient"
              },
              {
                "input": "\"1\"",
                "type": "set_variable",
                "output_path": "transfer_dry_run.confirmation_depth"
              },
              {
                "input": "\"true\"",
                "type": "set_variable",
                "output_path": "transfer_dry_run.dry_run"
              },
              {
                "input": "[{\"operation_identifier\":{\"index\":0},\"type\":\"INPUT\",\"account\":{{sender.account_identifier}},\"amount\":{\"value\":{{sender_amount}},\"currency\":{{currency}}}, \"coin_change\":{\"coin_action\":\"coin_spent\", \"coin_identifier\":{{sender.coin}}}},{\"operation_identifier\":{\"index\":1},\"type\":\"OUTPUT\",\"account\":{{recipient.account_identifier}},\"amount\":{\"value\":{{recipient_amount}},\"currency\":{{currency}}}}, {\"operation_identifier\":{\"index\":2},\"type\":\"OUTPUT\",\"account\":{{sender.account_identifier}},\"amount\":{\"value\":{{change_amount}},\"currency\":{{currency}}}}]",
                "type": "set_variable",
                "output_path": "transfer_dry_run.operations"
              },
              {
                "input": "{{transfer_dry_run.operations}}",
                "type": "print_message"
              }
            ]
          },
          {
            "name": "transfer",
            "actions": [{
                "input": "{\"currency\":{{currency}}, \"amounts\":{{transfer_dry_run.suggested_fee}}}",
                "type": "find_currency_amount",
                "output_path": "suggested_fee"
              },
              {
                "input": "{\"operation\":\"subtraction\", \"left_value\": {{total_change_amount}}, \"right_value\": {{suggested_fee.value}}}",
                "type": "math",
                "output_path": "change_amount"
              },
              {
                "input": "{\"operation\":\"subtraction\", \"left_value\": {{change_amount}}, \"right_value\": {{dust_amount}}}",
                "type": "math",
                "output_path": "change_minus_dust"
              },
              {
                "input": "{{change_minus_dust}}",
                "type": "assert"
              },
              {
                "input": "{\"network\":\"Dev\", \"blockchain\":\"CKB\"}",
                "type": "set_variable",
                "output_path": "transfer.network"
              },
              {
                "input": "\"1\"",
                "type": "set_variable",
                "output_path": "transfer.confirmation_depth"
              },
              {
                "input": "[{\"operation_identifier\":{\"index\":0},\"type\":\"INPUT\",\"account\":{{sender.account_identifier}},\"amount\":{\"value\":{{sender_amount}},\"currency\":{{currency}}}, \"coin_change\":{\"coin_action\":\"coin_spent\", \"coin_identifier\":{{sender.coin}}}},{\"operation_identifier\":{\"index\":1},\"type\":\"OUTPUT\",\"account\":{{recipient.account_identifier}},\"amount\":{\"value\":{{recipient_amount}},\"currency\":{{currency}}}}, {\"operation_identifier\":{\"index\":2},\"type\":\"OUTPUT\",\"account\":{{sender.account_identifier}},\"amount\":{\"value\":{{change_amount}},\"currency\":{{currency}}}}]",
                "type": "set_variable",
                "output_path": "transfer.operations"
              },
              {
                "input": "{{transfer.operations}}",
                "type": "print_message"
              }
            ]
          }
        ]
      },
      {
        "name": "return_funds",
        "concurrency": 10,
        "scenarios": [{
            "name": "transfer_dry_run",
            "actions": [{
                "input": "{\"network\":\"Dev\", \"blockchain\":\"CKB\"}",
                "type": "set_variable",
                "output_path": "transfer_dry_run.network"
              },
              {
                "input": "{\"symbol\":\"CKB\", \"decimals\":8}",
                "type": "set_variable",
                "output_path": "currency"
              },
              {
                "input": "\"1200\"",
                "type": "set_variable",
                "output_path": "max_fee_amount"
              },
              {
                "input": "\"10000000000\"",
                "type": "set_variable",
                "output_path": "reserved_amount"
              },
              {
                "input": "{\"require_coin\":true, \"minimum_balance\":{\"value\": {{reserved_amount}}, \"currency\": {{currency}}}}",
                "type": "find_balance",
                "output_path": "sender"
              },
              {
                "input": "{\"operation\":\"subtraction\", \"left_value\": {{sender.balance.value}}, \"right_value\": {{max_fee_amount}}}",
                "type": "math",
                "output_path": "recipient_amount"
              },
              {
                "input": "{\"recipient_amount\":{{recipient_amount}}}",
                "type": "print_message"
              },
              {
                "input": "{\"operation\":\"subtraction\", \"left_value\": \"0\", \"right_value\":{{sender.balance.value}}}",
                "type": "math",
                "output_path": "sender_amount"
              },
              {
                "input": "\"1\"",
                "type": "set_variable",
                "output_path": "transfer_dry_run.confirmation_depth"
              },
              {
                "input": "\"true\"",
                "type": "set_variable",
                "output_path": "transfer_dry_run.dry_run"
              },
              {
                "input": "{\"address\": \"mkHS9ne12qx9pS9VojpwU5xtRd4T7X7ZUt\"}",
                "type": "set_variable",
                "output_path": "recipient"
              },
              {
                "input": "[{\"operation_identifier\":{\"index\":0},\"type\":\"INPUT\",\"account\":{{sender.account_identifier}},\"amount\":{\"value\":{{sender_amount}},\"currency\":{{currency}}}, \"coin_change\":{\"coin_action\":\"coin_spent\", \"coin_identifier\":{{sender.coin}}}},{\"operation_identifier\":{\"index\":1},\"type\":\"OUTPUT\",\"account\":{{recipient}},\"amount\":{\"value\":{{recipient_amount}},\"currency\":{{currency}}}}]",
                "type": "set_variable",
                "output_path": "transfer_dry_run.operations"
              },
              {
                "input": "{{transfer_dry_run.operations}}",
                "type": "print_message"
              }
            ]
          },
          {
            "name": "transfer",
            "actions": [{
                "input": "{\"currency\":{{currency}}, \"amounts\":{{transfer_dry_run.suggested_fee}}}",
                "type": "find_currency_amount",
                "output_path": "suggested_fee"
              },
              {
                "input": "{\"operation\":\"subtraction\", \"left_value\": {{sender.balance.value}}, \"right_value\": {{suggested_fee.value}}}",
                "type": "math",
                "output_path": "recipient_amount"
              },
              {
                "input": "\"10000000000\"",
                "type": "set_variable",
                "output_path": "dust_amount"
              },
              {
                "input": "{\"operation\":\"subtraction\", \"left_value\": {{recipient_amount}}, \"right_value\": {{dust_amount}}}",
                "type": "math",
                "output_path": "recipient_minus_dust"
              },
              {
                "input": "{{recipient_minus_dust}}",
                "type": "assert"
              },
              {
                "input": "{\"network\":\"Dev\", \"blockchain\":\"CKB\"}",
                "type": "set_variable",
                "output_path": "transfer.network"
              },
              {
                "input": "\"1\"",
                "type": "set_variable",
                "output_path": "transfer.confirmation_depth"
              },
              {
                "input": "[{\"operation_identifier\":{\"index\":0},\"type\":\"INPUT\",\"account\":{{sender.account_identifier}},\"amount\":{\"value\":{{sender_amount}},\"currency\":{{currency}}}, \"coin_change\":{\"coin_action\":\"coin_spent\", \"coin_identifier\":{{sender.coin}}}},{\"operation_identifier\":{\"index\":1},\"type\":\"OUTPUT\",\"account\":{{recipient}},\"amount\":{\"value\":{{recipient_amount}},\"currency\":{{currency}}}}]",
                "type": "set_variable",
                "output_path": "transfer.operations"
              },
              {
                "input": "{{transfer.operations}}",
                "type": "print_message"
              }
            ]
          }
        ]
      }
    ],
    "end_conditions": {
      "create_account": 10,
      "transfer": 10
    }
  },
  "data": {
    "active_reconciliation_concurrency": 16,
    "inactive_reconciliation_concurrency": 32,
    "inactive_reconciliation_frequency": 250,
    "log_blocks": false,
    "log_transactions": false,
    "log_balance_changes": false,
    "log_reconciliations": false,
    "ignore_reconciliation_error": false,
    "exempt_accounts": "",
    "bootstrap_balances": "",
    "interesting_accounts": "",
    "reconciliation_disabled": false,
    "inactive_discrepency_search_disabled": false,
    "balance_tracking_disabled": false,
    "coin_tracking_disabled": false,
    "end_conditions": {
      "tip": true
    },
    "results_output_file": "./result.json"
  }
}

This is a great question, @kingstone! Your test has run into a very interesting edge case in testing:

  1. Your request_funds workflow relies on the total sum of coins owned by an account to be >= 100000000000
  2. Your transfer workflow relies on the value of a single coin to be >= {{reserved_amount}}, which is often 30000000000 (according to your logs)
  3. When the transfer workflow fails with “insufficient funds” because it can’t find a coin of value >=30000000000, it enters the request_funds workflow and passes immediately because the balance of some account is >= 100000000000 (creating a circular job loop that makes no progress)

To fix this, I’d recommend updating your request_funds workflow to have the same coin requirement as your transfer workflow (we should probably update the Bitcoin example to do the same). Your new config file would look like:

{
  "network": {
    "blockchain": "CKB",
    "network": "Dev"
  },
  "data_directory": "ckb-data",
  "http_timeout": 300,
  "max_retries": 5,
  "retry_elapsed_time": 0,
  "max_online_connections": 120,
  "max_sync_concurrency": 64,
  "tip_delay": 300,
  "log_configuration": false,
  "construction": {
    "stale_depth": 24,
    "ignore_broadcast_failures": false,
    "clear_broadcasts": false,
    "broadcast_behind_tip": false,
    "block_broadcast_limit": 0,
    "rebroadcast_all": false,
    "results_output_file": "./result.json",
    "workflows": [{
        "name": "request_funds",
        "concurrency": 1,
        "scenarios": [{
            "name": "find_account",
            "actions": [{
                "input": "{\"symbol\":\"CKB\", \"decimals\":8}",
                "type": "set_variable",
                "output_path": "currency"
              },
              {
                "input": "{\"minimum_balance\":{\"value\": \"0\", \"currency\": {{currency}}}, \"create_limit\":1}",
                "type": "find_balance",
                "output_path": "random_account"
              }
            ]
          },
          {
            "name": "request",
            "actions": [{
              "input": "{\"require_coin\":true, \"account_identifier\": {{random_account.account_identifier}}, \"minimum_balance\":{\"value\": \"30000000000\", \"currency\": {{currency}}}}",
              "type": "find_balance",
              "output_path": "loaded_account"
            }]
          }
        ]
      },
      {
        "name": "create_account",
        "concurrency": 1,
        "scenarios": [{
          "name": "create_account",
          "actions": [{
              "input": "{\"network\":\"Dev\", \"blockchain\":\"CKB\"}",
              "type": "set_variable",
              "output_path": "network"
            },
            {
              "input": "{\"curve_type\": \"secp256k1\"}",
              "type": "generate_key",
              "output_path": "key"
            },
            {
              "input": "{\"network_identifier\": {{network}}, \"public_key\": {{key.public_key}}}",
              "type": "derive",
              "output_path": "account"
            },
            {
              "input": "{\"account_identifier\": {{account.account_identifier}}, \"keypair\": {{key}}}",
              "type": "save_account"
            }
          ]
        }]
      },
      {
        "name": "transfer",
        "concurrency": 10,
        "scenarios": [{
            "name": "transfer_dry_run",
            "actions": [{
                "input": "{\"network\":\"Dev\", \"blockchain\":\"CKB\"}",
                "type": "set_variable",
                "output_path": "transfer_dry_run.network"
              },
              {
                "input": "{\"symbol\":\"CKB\", \"decimals\":8}",
                "type": "set_variable",
                "output_path": "currency"
              },
              {
                "input": "\"10000000000\"",
                "type": "set_variable",
                "output_path": "dust_amount"
              },
              {
                "input": "\"1200\"",
                "type": "set_variable",
                "output_path": "max_fee_amount"
              },
              {
                "input": "{\"operation\":\"addition\", \"left_value\": {{dust_amount}}, \"right_value\": {{max_fee_amount}}}",
                "type": "math",
                "output_path": "send_buffer"
              },
              {
                "input": "\"30000000000\"",
                "type": "set_variable",
                "output_path": "reserved_amount"
              },
              {
                "input": "{\"require_coin\":true, \"minimum_balance\":{\"value\": {{reserved_amount}}, \"currency\": {{currency}}}}",
                "type": "find_balance",
                "output_path": "sender"
              },
              {
                "input": "{\"operation\":\"subtraction\", \"left_value\": {{sender.balance.value}}, \"right_value\": {{send_buffer}}}",
                "type": "math",
                "output_path": "available_amount"
              },
              {
                "input": "{\"minimum\": {{dust_amount}}, \"maximum\": {{available_amount}}}",
                "type": "random_number",
                "output_path": "recipient_amount"
              },
              {
                "input": "{\"recipient_amount\":{{recipient_amount}}}",
                "type": "print_message"
              },
              {
                "input": "{\"operation\":\"subtraction\", \"left_value\": {{sender.balance.value}}, \"right_value\": {{recipient_amount}}}",
                "type": "math",
                "output_path": "total_change_amount"
              },
              {
                "input": "{\"operation\":\"subtraction\", \"left_value\": {{total_change_amount}}, \"right_value\": {{max_fee_amount}}}",
                "type": "math",
                "output_path": "change_amount"
              },
              {
                "input": "{\"change_amount\":{{change_amount}}}",
                "type": "print_message"
              },
              {
                "input": "{\"operation\":\"subtraction\", \"left_value\": \"0\", \"right_value\":{{sender.balance.value}}}",
                "type": "math",
                "output_path": "sender_amount"
              },
              {
                "input": "{\"not_account_identifier\":[{{sender.account_identifier}}], \"not_coins\":[{{sender.coin}}], \"minimum_balance\":{\"value\": \"0\", \"currency\": {{currency}}}, \"create_limit\": 100, \"create_probability\": 50}",
                "type": "find_balance",
                "output_path": "recipient"
              },
              {
                "input": "\"1\"",
                "type": "set_variable",
                "output_path": "transfer_dry_run.confirmation_depth"
              },
              {
                "input": "\"true\"",
                "type": "set_variable",
                "output_path": "transfer_dry_run.dry_run"
              },
              {
                "input": "[{\"operation_identifier\":{\"index\":0},\"type\":\"INPUT\",\"account\":{{sender.account_identifier}},\"amount\":{\"value\":{{sender_amount}},\"currency\":{{currency}}}, \"coin_change\":{\"coin_action\":\"coin_spent\", \"coin_identifier\":{{sender.coin}}}},{\"operation_identifier\":{\"index\":1},\"type\":\"OUTPUT\",\"account\":{{recipient.account_identifier}},\"amount\":{\"value\":{{recipient_amount}},\"currency\":{{currency}}}}, {\"operation_identifier\":{\"index\":2},\"type\":\"OUTPUT\",\"account\":{{sender.account_identifier}},\"amount\":{\"value\":{{change_amount}},\"currency\":{{currency}}}}]",
                "type": "set_variable",
                "output_path": "transfer_dry_run.operations"
              },
              {
                "input": "{{transfer_dry_run.operations}}",
                "type": "print_message"
              }
            ]
          },
          {
            "name": "transfer",
            "actions": [{
                "input": "{\"currency\":{{currency}}, \"amounts\":{{transfer_dry_run.suggested_fee}}}",
                "type": "find_currency_amount",
                "output_path": "suggested_fee"
              },
              {
                "input": "{\"operation\":\"subtraction\", \"left_value\": {{total_change_amount}}, \"right_value\": {{suggested_fee.value}}}",
                "type": "math",
                "output_path": "change_amount"
              },
              {
                "input": "{\"operation\":\"subtraction\", \"left_value\": {{change_amount}}, \"right_value\": {{dust_amount}}}",
                "type": "math",
                "output_path": "change_minus_dust"
              },
              {
                "input": "{{change_minus_dust}}",
                "type": "assert"
              },
              {
                "input": "{\"network\":\"Dev\", \"blockchain\":\"CKB\"}",
                "type": "set_variable",
                "output_path": "transfer.network"
              },
              {
                "input": "\"1\"",
                "type": "set_variable",
                "output_path": "transfer.confirmation_depth"
              },
              {
                "input": "[{\"operation_identifier\":{\"index\":0},\"type\":\"INPUT\",\"account\":{{sender.account_identifier}},\"amount\":{\"value\":{{sender_amount}},\"currency\":{{currency}}}, \"coin_change\":{\"coin_action\":\"coin_spent\", \"coin_identifier\":{{sender.coin}}}},{\"operation_identifier\":{\"index\":1},\"type\":\"OUTPUT\",\"account\":{{recipient.account_identifier}},\"amount\":{\"value\":{{recipient_amount}},\"currency\":{{currency}}}}, {\"operation_identifier\":{\"index\":2},\"type\":\"OUTPUT\",\"account\":{{sender.account_identifier}},\"amount\":{\"value\":{{change_amount}},\"currency\":{{currency}}}}]",
                "type": "set_variable",
                "output_path": "transfer.operations"
              },
              {
                "input": "{{transfer.operations}}",
                "type": "print_message"
              }
            ]
          }
        ]
      },
      {
        "name": "return_funds",
        "concurrency": 10,
        "scenarios": [{
            "name": "transfer_dry_run",
            "actions": [{
                "input": "{\"network\":\"Dev\", \"blockchain\":\"CKB\"}",
                "type": "set_variable",
                "output_path": "transfer_dry_run.network"
              },
              {
                "input": "{\"symbol\":\"CKB\", \"decimals\":8}",
                "type": "set_variable",
                "output_path": "currency"
              },
              {
                "input": "\"1200\"",
                "type": "set_variable",
                "output_path": "max_fee_amount"
              },
              {
                "input": "\"10000000000\"",
                "type": "set_variable",
                "output_path": "reserved_amount"
              },
              {
                "input": "{\"require_coin\":true, \"minimum_balance\":{\"value\": {{reserved_amount}}, \"currency\": {{currency}}}}",
                "type": "find_balance",
                "output_path": "sender"
              },
              {
                "input": "{\"operation\":\"subtraction\", \"left_value\": {{sender.balance.value}}, \"right_value\": {{max_fee_amount}}}",
                "type": "math",
                "output_path": "recipient_amount"
              },
              {
                "input": "{\"recipient_amount\":{{recipient_amount}}}",
                "type": "print_message"
              },
              {
                "input": "{\"operation\":\"subtraction\", \"left_value\": \"0\", \"right_value\":{{sender.balance.value}}}",
                "type": "math",
                "output_path": "sender_amount"
              },
              {
                "input": "\"1\"",
                "type": "set_variable",
                "output_path": "transfer_dry_run.confirmation_depth"
              },
              {
                "input": "\"true\"",
                "type": "set_variable",
                "output_path": "transfer_dry_run.dry_run"
              },
              {
                "input": "{\"address\": \"mkHS9ne12qx9pS9VojpwU5xtRd4T7X7ZUt\"}",
                "type": "set_variable",
                "output_path": "recipient"
              },
              {
                "input": "[{\"operation_identifier\":{\"index\":0},\"type\":\"INPUT\",\"account\":{{sender.account_identifier}},\"amount\":{\"value\":{{sender_amount}},\"currency\":{{currency}}}, \"coin_change\":{\"coin_action\":\"coin_spent\", \"coin_identifier\":{{sender.coin}}}},{\"operation_identifier\":{\"index\":1},\"type\":\"OUTPUT\",\"account\":{{recipient}},\"amount\":{\"value\":{{recipient_amount}},\"currency\":{{currency}}}}]",
                "type": "set_variable",
                "output_path": "transfer_dry_run.operations"
              },
              {
                "input": "{{transfer_dry_run.operations}}",
                "type": "print_message"
              }
            ]
          },
          {
            "name": "transfer",
            "actions": [{
                "input": "{\"currency\":{{currency}}, \"amounts\":{{transfer_dry_run.suggested_fee}}}",
                "type": "find_currency_amount",
                "output_path": "suggested_fee"
              },
              {
                "input": "{\"operation\":\"subtraction\", \"left_value\": {{sender.balance.value}}, \"right_value\": {{suggested_fee.value}}}",
                "type": "math",
                "output_path": "recipient_amount"
              },
              {
                "input": "\"10000000000\"",
                "type": "set_variable",
                "output_path": "dust_amount"
              },
              {
                "input": "{\"operation\":\"subtraction\", \"left_value\": {{recipient_amount}}, \"right_value\": {{dust_amount}}}",
                "type": "math",
                "output_path": "recipient_minus_dust"
              },
              {
                "input": "{{recipient_minus_dust}}",
                "type": "assert"
              },
              {
                "input": "{\"network\":\"Dev\", \"blockchain\":\"CKB\"}",
                "type": "set_variable",
                "output_path": "transfer.network"
              },
              {
                "input": "\"1\"",
                "type": "set_variable",
                "output_path": "transfer.confirmation_depth"
              },
              {
                "input": "[{\"operation_identifier\":{\"index\":0},\"type\":\"INPUT\",\"account\":{{sender.account_identifier}},\"amount\":{\"value\":{{sender_amount}},\"currency\":{{currency}}}, \"coin_change\":{\"coin_action\":\"coin_spent\", \"coin_identifier\":{{sender.coin}}}},{\"operation_identifier\":{\"index\":1},\"type\":\"OUTPUT\",\"account\":{{recipient}},\"amount\":{\"value\":{{recipient_amount}},\"currency\":{{currency}}}}]",
                "type": "set_variable",
                "output_path": "transfer.operations"
              },
              {
                "input": "{{transfer.operations}}",
                "type": "print_message"
              }
            ]
          }
        ]
      }
    ],
    "end_conditions": {
      "create_account": 10,
      "transfer": 10
    }
  },
  "data": {
    "active_reconciliation_concurrency": 16,
    "inactive_reconciliation_concurrency": 32,
    "inactive_reconciliation_frequency": 250,
    "log_blocks": false,
    "log_transactions": false,
    "log_balance_changes": false,
    "log_reconciliations": false,
    "ignore_reconciliation_error": false,
    "exempt_accounts": "",
    "bootstrap_balances": "",
    "interesting_accounts": "",
    "reconciliation_disabled": false,
    "inactive_discrepency_search_disabled": false,
    "balance_tracking_disabled": false,
    "coin_tracking_disabled": false,
    "end_conditions": {
      "tip": true
    },
    "results_output_file": "./result.json"
  }
}

thank you for your reply. But 100000000000 is greater than 30000000000 , why can’t find a coin of value >= 30000000000 ?

I modified the configuration file, the log is as follows:

[MEMORY] Heap: 1105.537148MB Stack: 0.718750MB System: 1261.006973MB GCs: 4
2020/10/06 18:14:03 Syncing 2995
2020/10/06 18:14:04 processing workflow "request_funds" for job "1"
2020/10/06 18:14:04 looking for coin {"value":"30000000000","currency":{"symbol":"CKB","decimals":8}} on account {"address":"ckt1qyq2vvc2r5laz9uq8g8wuszxv43ygwwzp36s40vsqa"}
2020/10/06 18:14:04 processing workflow "transfer"
2020/10/06 18:14:04 looking for coin {"value":"30000000000","currency":{"symbol":"CKB","decimals":8}}
2020/10/06 18:14:04 waiting for available jobs...
2020/10/06 18:14:11 Syncing 2996
[MEMORY] Heap: 1105.799759MB Stack: 0.718750MB System: 1261.006973MB GCs: 4
2020/10/06 18:14:14 processing workflow "request_funds" for job "1"
2020/10/06 18:14:14 looking for coin {"value":"30000000000","currency":{"symbol":"CKB","decimals":8}} on account {"address":"ckt1qyq2vvc2r5laz9uq8g8wuszxv43ygwwzp36s40vsqa"}
2020/10/06 18:14:14 processing workflow "transfer"
2020/10/06 18:14:14 looking for coin {"value":"30000000000","currency":{"symbol":"CKB","decimals":8}}
2020/10/06 18:14:14 waiting for available jobs...
2020/10/06 18:14:19 Syncing 2997
[MEMORY] Heap: 1106.025612MB Stack: 0.718750MB System: 1261.006973MB GCs: 4
2020/10/06 18:14:24 processing workflow "request_funds" for job "1"
2020/10/06 18:14:24 looking for coin {"value":"30000000000","currency":{"symbol":"CKB","decimals":8}} on account {"address":"ckt1qyq2vvc2r5laz9uq8g8wuszxv43ygwwzp36s40vsqa"}
2020/10/06 18:14:24 processing workflow "transfer"
2020/10/06 18:14:24 looking for coin {"value":"30000000000","currency":{"symbol":"CKB","decimals":8}}
2020/10/06 18:14:24 waiting for available jobs...
2020/10/06 18:14:27 Syncing 2998
[MEMORY] Heap: 1106.226311MB Stack: 0.718750MB System: 1261.006973MB GCs: 4
2020/10/06 18:14:34 processing workflow "request_funds" for job "1"
2020/10/06 18:14:34 looking for coin {"value":"30000000000","currency":{"symbol":"CKB","decimals":8}} on account {"address":"ckt1qyq2vvc2r5laz9uq8g8wuszxv43ygwwzp36s40vsqa"}
2020/10/06 18:14:34 processing workflow "transfer"
2020/10/06 18:14:34 looking for coin {"value":"30000000000","currency":{"symbol":"CKB","decimals":8}}
2020/10/06 18:14:34 waiting for available jobs...
2020/10/06 18:14:35 Syncing 2999
[MEMORY] Heap: 1106.430092MB Stack: 0.718750MB System: 1261.006973MB GCs: 4
2020/10/06 18:14:43 Syncing 3000
2020/10/06 18:14:44 processing workflow "request_funds" for job "1"
2020/10/06 18:14:44 looking for coin {"value":"30000000000","currency":{"symbol":"CKB","decimals":8}} on account {"address":"ckt1qyq2vvc2r5laz9uq8g8wuszxv43ygwwzp36s40vsqa"}
2020/10/06 18:14:44 processing workflow "transfer"
2020/10/06 18:14:44 looking for coin {"value":"30000000000","currency":{"symbol":"CKB","decimals":8}}
2020/10/06 18:14:44 waiting for available jobs...
2020/10/06 18:14:51 Syncing 3001
[MEMORY] Heap: 1106.670410MB Stack: 0.718750MB System: 1261.006973MB GCs: 4
2020/10/06 18:14:54 processing workflow "request_funds" for job "1"
2020/10/06 18:14:54 looking for coin {"value":"30000000000","currency":{"symbol":"CKB","decimals":8}} on account {"address":"ckt1qyq2vvc2r5laz9uq8g8wuszxv43ygwwzp36s40vsqa"}
2020/10/06 18:14:54 processing workflow "transfer"
2020/10/06 18:14:54 looking for coin {"value":"30000000000","currency":{"symbol":"CKB","decimals":8}}
2020/10/06 18:14:54 waiting for available jobs...
2020/10/06 18:14:59 Syncing 3002
[MEMORY] Heap: 1106.867378MB Stack: 0.718750MB System: 1261.006973MB GCs: 4
2020/10/06 18:15:04 processing workflow "request_funds" for job "1"
2020/10/06 18:15:04 looking for coin {"value":"30000000000","currency":{"symbol":"CKB","decimals":8}} on account {"address":"ckt1qyq2vvc2r5laz9uq8g8wuszxv43ygwwzp36s40vsqa"}
2020/10/06 18:15:04 processing workflow "transfer"
2020/10/06 18:15:04 looking for coin {"value":"30000000000","currency":{"symbol":"CKB","decimals":8}}
2020/10/06 18:15:04 waiting for available jobs...
2020/10/06 18:15:07 Syncing 3003
[MEMORY] Heap: 1104.473679MB Stack: 0.750000MB System: 1261.256973MB GCs: 5
2020/10/06 18:15:14 processing workflow "request_funds" for job "1"
2020/10/06 18:15:14 looking for coin {"value":"30000000000","currency":{"symbol":"CKB","decimals":8}} on account {"address":"ckt1qyq2vvc2r5laz9uq8g8wuszxv43ygwwzp36s40vsqa"}
2020/10/06 18:15:14 processing workflow "transfer"
2020/10/06 18:15:14 looking for coin {"value":"30000000000","currency":{"symbol":"CKB","decimals":8}}
2020/10/06 18:15:14 waiting for available jobs...
2020/10/06 18:15:15 Syncing 3004
[MEMORY] Heap: 1104.674614MB Stack: 0.750000MB System: 1261.256973MB GCs: 5
2020/10/06 18:15:23 Syncing 3005
2020/10/06 18:15:24 processing workflow "request_funds" for job "1"
2020/10/06 18:15:24 looking for coin {"value":"30000000000","currency":{"symbol":"CKB","decimals":8}} on account {"address":"ckt1qyq2vvc2r5laz9uq8g8wuszxv43ygwwzp36s40vsqa"}
2020/10/06 18:15:24 processing workflow "transfer"
2020/10/06 18:15:24 looking for coin {"value":"30000000000","currency":{"symbol":"CKB","decimals":8}}
2020/10/06 18:15:24 waiting for available jobs...
2020/10/06 18:15:31 Syncing 3006
[MEMORY] Heap: 1105.446419MB Stack: 0.750000MB System: 1261.256973MB GCs: 5
2020/10/06 18:15:34 processing workflow "request_funds" for job "1"
2020/10/06 18:15:34 looking for coin {"value":"30000000000","currency":{"symbol":"CKB","decimals":8}} on account {"address":"ckt1qyq2vvc2r5laz9uq8g8wuszxv43ygwwzp36s40vsqa"}
2020/10/06 18:15:34 processing workflow "transfer"
2020/10/06 18:15:34 looking for coin {"value":"30000000000","currency":{"symbol":"CKB","decimals":8}}
2020/10/06 18:15:34 waiting for available jobs...
2020/10/06 18:15:39 Syncing 3007
[MEMORY] Heap: 1105.644409MB Stack: 0.750000MB System: 1261.256973MB GCs: 5
2020/10/06 18:15:44 processing workflow "request_funds" for job "1"
2020/10/06 18:15:44 looking for coin {"value":"30000000000","currency":{"symbol":"CKB","decimals":8}} on account {"address":"ckt1qyq2vvc2r5laz9uq8g8wuszxv43ygwwzp36s40vsqa"}
2020/10/06 18:15:44 processing workflow "transfer"
2020/10/06 18:15:44 looking for coin {"value":"30000000000","currency":{"symbol":"CKB","decimals":8}}
2020/10/06 18:15:44 waiting for available jobs...
2020/10/06 18:15:47 Syncing 3008

Seems to be in the loop

My guess is that after running some time you have a collection of coins >= 100000000000 but have no coin of size >= 30000000000.

This is working correctly now! As you can see the job number is staying at 1 instead of increasing on each cycle of the loop (like in your earlier example), which indicated the job completed when it shouldn’t have. Once you fund the account, it should kickoff testing!

With the current implementation, you will see this sequence of logs printed repeatedly until you fund the account. More or less, the rosetta-cli is running through the list of ready jobs (the request_funds workflow) and any other possible jobs (the transfer workflow) every 10 seconds.

That being said, I see how this is confusing when you are requesting funds. I’m going to create a ticket to not attempt other workflows or print waiting for available jobs... if there is a request_funds job underway.

The new logs will look like this:

2020/10/06 18:15:24 processing workflow "request_funds" for job "1"
2020/10/06 18:15:24 looking for coin {"value":"30000000000","currency":{"symbol":"CKB","decimals":8}} on account {"address":"ckt1qyq2vvc2r5laz9uq8g8wuszxv43ygwwzp36s40vsqa"}
2020/10/06 18:15:31 Syncing 3006
[MEMORY] Heap: 1105.446419MB Stack: 0.750000MB System: 1261.256973MB GCs: 5
2020/10/06 18:15:34 processing workflow "request_funds" for job "1"
2020/10/06 18:15:34 looking for coin {"value":"30000000000","currency":{"symbol":"CKB","decimals":8}} on account {"address":"ckt1qyq2vvc2r5laz9uq8g8wuszxv43ygwwzp36s40vsqa"}
2020/10/06 18:15:39 Syncing 3007
[MEMORY] Heap: 1105.644409MB Stack: 0.750000MB System: 1261.256973MB GCs: 5
2020/10/06 18:15:44 processing workflow "request_funds" for job "1"
2020/10/06 18:15:44 looking for coin {"value":"30000000000","currency":{"symbol":"CKB","decimals":8}} on account {"address":"ckt1qyq2vvc2r5laz9uq8g8wuszxv43ygwwzp36s40vsqa"}
2020/10/06 18:15:47 Syncing 3008

You may also find it useful to use our new Rosetta Constructor DSL instead of writing Workflows directly in JSON (we just released it today and plan to blog about it soon). You can find an example for Ethereum here:

And learn more about the syntax here:

I sent 30000000000 to address ckt1qyq2vvc2r5laz9uq8g8wuszxv43ygwwzp36s40vsqa twice, the balance result is as follows:

{
    "block_identifier": {
        "index": 3280,
        "hash": "0x58be8631630c831253f87db516ff9617d57ca4886e94f675f5459fb266510211"
    },
    "balances": [
        {
            "value": "60000000000",
            "currency": {
                "symbol": "CKB",
                "decimals": 8
            }
        }
    ],
    "coins": [
        {
            "coin_identifier": {
                "identifier": "0x4ce66e7a19856a88bc56f9cb6e60e2dd247952c31d4d4d5f26bd1f58a2650751:0"
            },
            "amount": {
                "value": "30000000000",
                "currency": {
                    "symbol": "CKB",
                    "decimals": 8
                }
            }
        },
        {
            "coin_identifier": {
                "identifier": "0xf9cf2a790e09458f295422d0759004826c4b1603748b572e9fc806d810903dc6:0"
            },
            "amount": {
                "value": "30000000000",
                "currency": {
                    "symbol": "CKB",
                    "decimals": 8
                }
            }
        }
    ]
}

there are two 30000000000 coin, but still in the loop. @patrick.ogrady

DSL is great and easier to understand, I will try it. :+1:

I used DSL (really better to use) but still in the loop(after running for 20 minutes)

DSL:

request_funds(1){
  find_account{
    currency = {
      "symbol":"CKB",
      "decimals":8
    };
    random_account = find_balance({
      "minimum_balance":{
        "value": "0",
        "currency": {{currency}}
      },
      "create_limit": 1
    });
  },
  request{
    loaded_account = find_balance({
      "require_coin":true,
      "account_identifier": {{random_account.account_identifier}},
      "minimum_balance": {
        "value": "30000000000",
        "currency": {{currency}}
      }
    });
  }
}

create_account(1){
  create{
    network = {"network":"Dev", "blockchain":"CKB"};
    key = generate_key({"curve_type":"secp256k1"});
    account = derive({
      "network_identifier": {{network}},
      "public_key": {{key.public_key}}
    });
    save_account({
      "account_identifier": {{account.account_identifier}},
      "keypair": {{key}}
    });
    print_message({"--------------public_key--------------":{{key.public_key}}});
  }
}

transfer(10){
  transfer_dry_run{
    transfer_dry_run.network = {"network":"Dev", "blockchain":"CKB"};
    currency = {"symbol":"CKB","decimals":8};
    max_fee = "1200";
    reserved_amount = "30000000000";
    sender = find_balance({
      "require_coin":true,
      "minimum_balance": {
        "value": {{reserved_amount}},
        "currency": {{currency}}
      }
    });
    available_amount = {{sender.balance.value}} - {{max_fee}};
    recipient_amount = random_number({"minimum":"1", "maximum":{{available_amount}}});
    print_message({"recipient_amount":{{recipient_amount}}});
    total_change_amount = {{sender.balance.value}} - {{recipient_amount}};
    change_amount = {{total_change_amount}} - {{max_fee}};
    print_message({"change_amount":{{change_amount}}});
    sender_amount = 0 - {{recipient_amount}};

    recipient = find_balance({
      "not_account_identifier": [{{sender.account_identifier}}],
      "not_coins": [{{sender.coins}}],
      "minimum_balance":{
        "value": "0",
        "currency": {{currency}}
      },
      "create_limit": 100,
      "create_probability": 50
    });
    transfer_dry_run.confirmation_depth = "1";
    transfer_dry_run.dry_run = true;
    transfer_dry_run.operations = [
      {
        "operation_identifier":{"index":0},
        "type":"INPUT",
        "account":{{sender.account_identifier}},
        "amount":{
          "value":{{sender_amount}},
          "currency": {{currency}},
          "coin_change": {
            "coin_action": "coin_spent",
            "coin_identifier":{{sender.coin}}
          }
        }
      },
      {
        "operation_identifier":{"index":1},
        "type":"OUTPUT",
        "account":{{recipient.account_identifier}},
        "amount":{
          "value": {{recipient_amount}},
          "currency":{{currency}}
        }
      },
      {
        "operation_identifier":{"index":2},
        "type":"OUTPUT",
        "account":{{sender.account_identifier}},
        "amount":{
          "value": {{change_amount}},
          "currency":{{currency}}
        }
      }
    ];
    print_message({"transfer_dry_run.operations":{{transfer_dry_run.operations}}});
  },
  transfer{
    suggested_fee = find_currency_amount({
      "currency": {{currency}},
      "amounts": {{transfer_dry_run.suggested_fee}}
    });
    transfer.network = {"network":"Dev", "blockchain":"CKB"};
    currency = {"symbol":"CKB","decimals":8};
    sender = find_balance({
      "require_coin":true,
      "minimum_balance": {
        "value": "30000000000",
        "currency": {{currency}}
      }
    });

    // Set the recipient_amount as some value <= sender.balance-max_fee
    max_fee = "1200";
    available_amount = {{sender.balance.value}} - {{max_fee}};
    recipient_amount = random_number({"minimum":"1", "maximum":{{available_amount}}});
    print_message({"recipient_amount":{{recipient_amount}}});
    total_change_amount = {{sender.balance.value}} - {{recipient_amount}};
    change_amount = {{total_change_amount}} - {{suggested_fee}};

    // Find recipient and construct operations
    sender_amount = 0 - {{recipient_amount}};
    recipient = find_balance({
      "not_account_identifier":[{{sender.account_identifier}}],
      "minimum_balance":{
        "value": "0",
        "currency": {{currency}}
      },
      "create_limit": 100,
      "create_probability": 50
    });
    transfer.confirmation_depth = "1";
    transfer.operations = [
      {
        "operation_identifier":{"index":0},
        "type":"INPUT",
        "account":{{sender.account_identifier}},
        "amount":{
          "value":{{sender_amount}},
          "currency":{{currency}}
        },
        "coin_change":{
          "coin_action":"coin_spent",
          "coin_identifier":{{sender.coin}}
        }
      },
      {
        "operation_identifier":{"index":1},
        "type":"OUTPUT",
        "account":{{recipient.account_identifier}},
        "amount":{
          "value":{{recipient_amount}},
          "currency":{{currency}}
        }
      },
      {
        "operation_identifier":{"index":2},
        "type":"OUTPUT",
        "account":{{sender.account_identifier}},
        "amount":{
          "value": {{change_amount}},
          "currency":{{currency}}
        }
      }
    ];
  }
}

logs:

[MEMORY] Heap: 1109.036674MB Stack: 0.750000MB System: 1261.006973MB GCs: 4
2020/10/07 20:50:17 Syncing 4059
2020/10/07 20:50:18 processing workflow "request_funds" for job "1"
2020/10/07 20:50:18 looking for coin {"value":"30000000000","currency":{"symbol":"CKB","decimals":8}} on account {"address":"ckt1qyqdn9gxacvm2agj0f6y6xujnrdjf9v9s4ts5r2kgn"}
2020/10/07 20:50:18 processing workflow "transfer"
2020/10/07 20:50:18 looking for coin {"value":"30000000000","currency":{"symbol":"CKB","decimals":8}}
2020/10/07 20:50:18 waiting for available jobs...
2020/10/07 20:50:25 Syncing 4060
[MEMORY] Heap: 1104.491554MB Stack: 0.781250MB System: 1261.006973MB GCs: 5
2020/10/07 20:50:28 processing workflow "request_funds" for job "1"
2020/10/07 20:50:28 looking for coin {"value":"30000000000","currency":{"symbol":"CKB","decimals":8}} on account {"address":"ckt1qyqdn9gxacvm2agj0f6y6xujnrdjf9v9s4ts5r2kgn"}
2020/10/07 20:50:28 processing workflow "transfer"
2020/10/07 20:50:28 looking for coin {"value":"30000000000","currency":{"symbol":"CKB","decimals":8}}
2020/10/07 20:50:28 waiting for available jobs...
2020/10/07 20:50:31 Syncing 4061
[MEMORY] Heap: 1104.693680MB Stack: 0.781250MB System: 1261.006973MB GCs: 5
2020/10/07 20:50:38 processing workflow "request_funds" for job "1"
2020/10/07 20:50:38 looking for coin {"value":"30000000000","currency":{"symbol":"CKB","decimals":8}} on account {"address":"ckt1qyqdn9gxacvm2agj0f6y6xujnrdjf9v9s4ts5r2kgn"}
2020/10/07 20:50:38 processing workflow "transfer"
2020/10/07 20:50:38 looking for coin {"value":"30000000000","currency":{"symbol":"CKB","decimals":8}}
2020/10/07 20:50:38 waiting for available jobs...
2020/10/07 20:50:39 Syncing 4062
[MEMORY] Heap: 1104.886375MB Stack: 0.781250MB System: 1261.006973MB GCs: 5
2020/10/07 20:50:47 Syncing 4063
2020/10/07 20:50:48 processing workflow "request_funds" for job "1"
2020/10/07 20:50:48 looking for coin {"value":"30000000000","currency":{"symbol":"CKB","decimals":8}} on account {"address":"ckt1qyqdn9gxacvm2agj0f6y6xujnrdjf9v9s4ts5r2kgn"}
2020/10/07 20:50:48 processing workflow "transfer"
2020/10/07 20:50:48 looking for coin {"value":"30000000000","currency":{"symbol":"CKB","decimals":8}}
2020/10/07 20:50:48 waiting for available jobs...
2020/10/07 20:50:55 Syncing 4064
[MEMORY] Heap: 1105.656288MB Stack: 0.781250MB System: 1261.006973MB GCs: 5
2020/10/07 20:50:58 processing workflow "request_funds" for job "1"
2020/10/07 20:50:58 looking for coin {"value":"30000000000","currency":{"symbol":"CKB","decimals":8}} on account {"address":"ckt1qyqdn9gxacvm2agj0f6y6xujnrdjf9v9s4ts5r2kgn"}
2020/10/07 20:50:58 processing workflow "transfer"
2020/10/07 20:50:58 looking for coin {"value":"30000000000","currency":{"symbol":"CKB","decimals":8}}
2020/10/07 20:50:58 waiting for available jobs...
2020/10/07 20:51:03 Syncing 4065
[MEMORY] Heap: 1105.838379MB Stack: 0.781250MB System: 1261.006973MB GCs: 5
2020/10/07 20:51:08 processing workflow "request_funds" for job "1"
2020/10/07 20:51:08 looking for coin {"value":"30000000000","currency":{"symbol":"CKB","decimals":8}} on account {"address":"ckt1qyqdn9gxacvm2agj0f6y6xujnrdjf9v9s4ts5r2kgn"}
2020/10/07 20:51:08 processing workflow "transfer"
2020/10/07 20:51:08 looking for coin {"value":"30000000000","currency":{"symbol":"CKB","decimals":8}}
2020/10/07 20:51:08 waiting for available jobs...
2020/10/07 20:51:11 Syncing 4066
[MEMORY] Heap: 1106.031059MB Stack: 0.781250MB System: 1261.006973MB GCs: 5
2020/10/07 20:51:18 processing workflow "request_funds" for job "1"
2020/10/07 20:51:18 looking for coin {"value":"30000000000","currency":{"symbol":"CKB","decimals":8}} on account {"address":"ckt1qyqdn9gxacvm2agj0f6y6xujnrdjf9v9s4ts5r2kgn"}
2020/10/07 20:51:18 processing workflow "transfer"
2020/10/07 20:51:18 looking for coin {"value":"30000000000","currency":{"symbol":"CKB","decimals":8}}
2020/10/07 20:51:18 waiting for available jobs...
2020/10/07 20:51:19 Syncing 4067
[MEMORY] Heap: 1106.221924MB Stack: 0.781250MB System: 1261.006973MB GCs: 5
2020/10/07 20:51:27 Syncing 4068
2020/10/07 20:51:28 processing workflow "request_funds" for job "1"
2020/10/07 20:51:28 looking for coin {"value":"30000000000","currency":{"symbol":"CKB","decimals":8}} on account {"address":"ckt1qyqdn9gxacvm2agj0f6y6xujnrdjf9v9s4ts5r2kgn"}
2020/10/07 20:51:28 processing workflow "transfer"
2020/10/07 20:51:28 looking for coin {"value":"30000000000","currency":{"symbol":"CKB","decimals":8}}
2020/10/07 20:51:28 waiting for available jobs...
2020/10/07 20:51:35 Syncing 4069
[MEMORY] Heap: 1106.469490MB Stack: 0.781250MB System: 1261.006973MB GCs: 5
2020/10/07 20:51:38 processing workflow "request_funds" for job "1"
2020/10/07 20:51:38 looking for coin {"value":"30000000000","currency":{"symbol":"CKB","decimals":8}} on account {"address":"ckt1qyqdn9gxacvm2agj0f6y6xujnrdjf9v9s4ts5r2kgn"}
2020/10/07 20:51:38 processing workflow "transfer"
2020/10/07 20:51:38 looking for coin {"value":"30000000000","currency":{"symbol":"CKB","decimals":8}}
2020/10/07 20:51:38 waiting for available jobs...
2020/10/07 20:51:43 Syncing 4070
[MEMORY] Heap: 1106.660027MB Stack: 0.781250MB System: 1261.006973MB GCs: 5
2020/10/07 20:51:48 processing workflow "request_funds" for job "1"
2020/10/07 20:51:48 looking for coin {"value":"30000000000","currency":{"symbol":"CKB","decimals":8}} on account {"address":"ckt1qyqdn9gxacvm2agj0f6y6xujnrdjf9v9s4ts5r2kgn"}
2020/10/07 20:51:48 processing workflow "transfer"
2020/10/07 20:51:48 looking for coin {"value":"30000000000","currency":{"symbol":"CKB","decimals":8}}
2020/10/07 20:51:48 waiting for available jobs...
2020/10/07 20:51:51 Syncing 4071
[MEMORY] Heap: 1107.106880MB Stack: 0.781250MB System: 1261.006973MB GCs: 5
2020/10/07 20:51:58 processing workflow "request_funds" for job "1"
2020/10/07 20:51:58 looking for coin {"value":"30000000000","currency":{"symbol":"CKB","decimals":8}} on account {"address":"ckt1qyqdn9gxacvm2agj0f6y6xujnrdjf9v9s4ts5r2kgn"}
2020/10/07 20:51:58 processing workflow "transfer"
2020/10/07 20:51:58 looking for coin {"value":"30000000000","currency":{"symbol":"CKB","decimals":8}}
2020/10/07 20:51:58 waiting for available jobs...
2020/10/07 20:51:59 Syncing 4072
[MEMORY] Heap: 1107.300613MB Stack: 0.781250MB System: 1261.006973MB GCs: 5
2020/10/07 20:52:07 Syncing 4073
2020/10/07 20:52:08 processing workflow "request_funds" for job "1"
2020/10/07 20:52:08 looking for coin {"value":"30000000000","currency":{"symbol":"CKB","decimals":8}} on account {"address":"ckt1qyqdn9gxacvm2agj0f6y6xujnrdjf9v9s4ts5r2kgn"}
2020/10/07 20:52:08 processing workflow "transfer"
2020/10/07 20:52:08 looking for coin {"value":"30000000000","currency":{"symbol":"CKB","decimals":8}}
2020/10/07 20:52:08 waiting for available jobs...
2020/10/07 20:52:16 Syncing 4074
[MEMORY] Heap: 1107.544403MB Stack: 0.781250MB System: 1261.006973MB GCs: 5
2020/10/07 20:52:18 processing workflow "request_funds" for job "1"
2020/10/07 20:52:18 looking for coin {"value":"30000000000","currency":{"symbol":"CKB","decimals":8}} on account {"address":"ckt1qyqdn9gxacvm2agj0f6y6xujnrdjf9v9s4ts5r2kgn"}
2020/10/07 20:52:18 processing workflow "transfer"
2020/10/07 20:52:18 looking for coin {"value":"30000000000","currency":{"symbol":"CKB","decimals":8}}
2020/10/07 20:52:18 waiting for available jobs...
2020/10/07 20:52:24 Syncing 4075
[MEMORY] Heap: 1107.733261MB Stack: 0.781250MB System: 1261.006973MB GCs: 5
2020/10/07 20:52:28 processing workflow "request_funds" for job "1"
2020/10/07 20:52:28 looking for coin {"value":"30000000000","currency":{"symbol":"CKB","decimals":8}} on account {"address":"ckt1qyqdn9gxacvm2agj0f6y6xujnrdjf9v9s4ts5r2kgn"}
2020/10/07 20:52:28 processing workflow "transfer"
2020/10/07 20:52:28 looking for coin {"value":"30000000000","currency":{"symbol":"CKB","decimals":8}}
2020/10/07 20:52:28 waiting for available jobs...
2020/10/07 20:52:32 Syncing 4076
[MEMORY] Heap: 1104.983612MB Stack: 0.781250MB System: 1261.006973MB GCs: 6
2020/10/07 20:52:38 processing workflow "request_funds" for job "1"
2020/10/07 20:52:38 looking for coin {"value":"30000000000","currency":{"symbol":"CKB","decimals":8}} on account {"address":"ckt1qyqdn9gxacvm2agj0f6y6xujnrdjf9v9s4ts5r2kgn"}
2020/10/07 20:52:38 processing workflow "transfer"
2020/10/07 20:52:38 looking for coin {"value":"30000000000","currency":{"symbol":"CKB","decimals":8}}
2020/10/07 20:52:38 waiting for available jobs...
2020/10/07 20:52:40 Syncing 4077
[MEMORY] Heap: 1105.730766MB Stack: 0.781250MB System: 1261.006973MB GCs: 6
2020/10/07 20:52:48 Syncing 4078
2020/10/07 20:52:48 processing workflow "request_funds" for job "1"
2020/10/07 20:52:48 looking for coin {"value":"30000000000","currency":{"symbol":"CKB","decimals":8}} on account {"address":"ckt1qyqdn9gxacvm2agj0f6y6xujnrdjf9v9s4ts5r2kgn"}
2020/10/07 20:52:48 processing workflow "transfer"
2020/10/07 20:52:48 looking for coin {"value":"30000000000","currency":{"symbol":"CKB","decimals":8}}
2020/10/07 20:52:48 waiting for available jobs...
2020/10/07 20:52:56 Syncing 4079
[MEMORY] Heap: 1106.278145MB Stack: 0.781250MB System: 1261.006973MB GCs: 6
2020/10/07 20:52:58 processing workflow "request_funds" for job "1"
2020/10/07 20:52:58 looking for coin {"value":"30000000000","currency":{"symbol":"CKB","decimals":8}} on account {"address":"ckt1qyqdn9gxacvm2agj0f6y6xujnrdjf9v9s4ts5r2kgn"}
2020/10/07 20:52:58 processing workflow "transfer"
2020/10/07 20:52:58 looking for coin {"value":"30000000000","currency":{"symbol":"CKB","decimals":8}}
2020/10/07 20:52:58 waiting for available jobs...
2020/10/07 20:53:04 Syncing 4080
[MEMORY] Heap: 1106.468086MB Stack: 0.781250MB System: 1261.006973MB GCs: 6
2020/10/07 20:53:08 processing workflow "request_funds" for job "1"
2020/10/07 20:53:08 looking for coin {"value":"30000000000","currency":{"symbol":"CKB","decimals":8}} on account {"address":"ckt1qyqdn9gxacvm2agj0f6y6xujnrdjf9v9s4ts5r2kgn"}
2020/10/07 20:53:08 processing workflow "transfer"
2020/10/07 20:53:08 looking for coin {"value":"30000000000","currency":{"symbol":"CKB","decimals":8}}
2020/10/07 20:53:08 waiting for available jobs...
2020/10/07 20:53:12 Syncing 4081
[MEMORY] Heap: 1106.650429MB Stack: 0.781250MB System: 1261.006973MB GCs: 6
2020/10/07 20:53:18 processing workflow "request_funds" for job "1"
2020/10/07 20:53:18 looking for coin {"value":"30000000000","currency":{"symbol":"CKB","decimals":8}} on account {"address":"ckt1qyqdn9gxacvm2agj0f6y6xujnrdjf9v9s4ts5r2kgn"}
2020/10/07 20:53:18 processing workflow "transfer"
2020/10/07 20:53:18 looking for coin {"value":"30000000000","currency":{"symbol":"CKB","decimals":8}}
2020/10/07 20:53:18 waiting for available jobs...
2020/10/07 20:53:20 Syncing 4082
[MEMORY] Heap: 1106.845886MB Stack: 0.781250MB System: 1261.006973MB GCs: 6
2020/10/07 20:53:28 Syncing 4083
2020/10/07 20:53:28 processing workflow "request_funds" for job "1"
2020/10/07 20:53:28 looking for coin {"value":"30000000000","currency":{"symbol":"CKB","decimals":8}} on account {"address":"ckt1qyqdn9gxacvm2agj0f6y6xujnrdjf9v9s4ts5r2kgn"}
2020/10/07 20:53:28 processing workflow "transfer"
2020/10/07 20:53:28 looking for coin {"value":"30000000000","currency":{"symbol":"CKB","decimals":8}}
2020/10/07 20:53:28 waiting for available jobs...
2020/10/07 20:53:36 Syncing 4084
[MEMORY] Heap: 1107.098106MB Stack: 0.781250MB System: 1261.006973MB GCs: 6
2020/10/07 20:53:38 processing workflow "request_funds" for job "1"
2020/10/07 20:53:38 looking for coin {"value":"30000000000","currency":{"symbol":"CKB","decimals":8}} on account {"address":"ckt1qyqdn9gxacvm2agj0f6y6xujnrdjf9v9s4ts5r2kgn"}
2020/10/07 20:53:38 processing workflow "transfer"
2020/10/07 20:53:38 looking for coin {"value":"30000000000","currency":{"symbol":"CKB","decimals":8}}
2020/10/07 20:53:38 waiting for available jobs...
2020/10/07 20:53:44 Syncing 4085
[MEMORY] Heap: 1107.289001MB Stack: 0.781250MB System: 1261.006973MB GCs: 6
2020/10/07 20:53:48 processing workflow "request_funds" for job "1"
2020/10/07 20:53:48 looking for coin {"value":"30000000000","currency":{"symbol":"CKB","decimals":8}} on account {"address":"ckt1qyqdn9gxacvm2agj0f6y6xujnrdjf9v9s4ts5r2kgn"}
2020/10/07 20:53:48 processing workflow "transfer"
2020/10/07 20:53:48 looking for coin {"value":"30000000000","currency":{"symbol":"CKB","decimals":8}}
2020/10/07 20:53:48 waiting for available jobs...
2020/10/07 20:53:52 Syncing 4086
[MEMORY] Heap: 1107.478256MB Stack: 0.781250MB System: 1261.006973MB GCs: 6
2020/10/07 20:53:58 processing workflow "request_funds" for job "1"
2020/10/07 20:53:58 looking for coin {"value":"30000000000","currency":{"symbol":"CKB","decimals":8}} on account {"address":"ckt1qyqdn9gxacvm2agj0f6y6xujnrdjf9v9s4ts5r2kgn"}
2020/10/07 20:53:58 processing workflow "transfer"
2020/10/07 20:53:58 looking for coin {"value":"30000000000","currency":{"symbol":"CKB","decimals":8}}
2020/10/07 20:53:58 waiting for available jobs...
2020/10/07 20:54:00 Syncing 4087
[MEMORY] Heap: 1107.664680MB Stack: 0.781250MB System: 1261.006973MB GCs: 6
2020/10/07 20:54:08 Syncing 4088
2020/10/07 20:54:08 processing workflow "request_funds" for job "1"
2020/10/07 20:54:08 looking for coin {"value":"30000000000","currency":{"symbol":"CKB","decimals":8}} on account {"address":"ckt1qyqdn9gxacvm2agj0f6y6xujnrdjf9v9s4ts5r2kgn"}
2020/10/07 20:54:08 processing workflow "transfer"
2020/10/07 20:54:08 looking for coin {"value":"30000000000","currency":{"symbol":"CKB","decimals":8}}
2020/10/07 20:54:08 waiting for available jobs...
2020/10/07 20:54:16 Syncing 4089
[MEMORY] Heap: 1107.915985MB Stack: 0.781250MB System: 1261.006973MB GCs: 6
2020/10/07 20:54:18 processing workflow "request_funds" for job "1"
2020/10/07 20:54:18 looking for coin {"value":"30000000000","currency":{"symbol":"CKB","decimals":8}} on account {"address":"ckt1qyqdn9gxacvm2agj0f6y6xujnrdjf9v9s4ts5r2kgn"}
2020/10/07 20:54:18 processing workflow "transfer"
2020/10/07 20:54:18 looking for coin {"value":"30000000000","currency":{"symbol":"CKB","decimals":8}}
2020/10/07 20:54:18 waiting for available jobs...
2020/10/07 20:54:24 Syncing 4090
....
2020/10/07 21:01:38 waiting for available jobs...
2020/10/07 21:01:46 Syncing 4145
[MEMORY] Heap: 1107.378647MB Stack: 0.750000MB System: 1261.006973MB GCs: 10
2020/10/07 21:01:48 processing workflow "request_funds" for job "1"
2020/10/07 21:01:48 looking for coin {"value":"30000000000","currency":{"symbol":"CKB","decimals":8}} on account {"address":"ckt1qyqdn9gxacvm2agj0f6y6xujnrdjf9v9s4ts5r2kgn"}
2020/10/07 21:01:48 processing workflow "transfer"
2020/10/07 21:01:48 looking for coin {"value":"30000000000","currency":{"symbol":"CKB","decimals":8}}
2020/10/07 21:01:48 waiting for available jobs...
2020/10/07 21:01:54 Syncing 4146
[MEMORY] Heap: 1107.829956MB Stack: 0.750000MB System: 1261.006973MB GCs: 10
2020/10/07 21:01:58 processing workflow "request_funds" for job "1"
2020/10/07 21:01:58 looking for coin {"value":"30000000000","currency":{"symbol":"CKB","decimals":8}} on account {"address":"ckt1qyqdn9gxacvm2agj0f6y6xujnrdjf9v9s4ts5r2kgn"}
2020/10/07 21:01:58 processing workflow "transfer"
2020/10/07 21:01:58 looking for coin {"value":"30000000000","currency":{"symbol":"CKB","decimals":8}}
2020/10/07 21:01:58 waiting for available jobs...
2020/10/07 21:02:02 Syncing 4147
[MEMORY] Heap: 1108.155159MB Stack: 0.750000MB System: 1261.006973MB GCs: 10
2020/10/07 21:02:08 processing workflow "request_funds" for job "1"
2020/10/07 21:02:08 looking for coin {"value":"30000000000","currency":{"symbol":"CKB","decimals":8}} on account {"address":"ckt1qyqdn9gxacvm2agj0f6y6xujnrdjf9v9s4ts5r2kgn"}
2020/10/07 21:02:08 processing workflow "transfer"
2020/10/07 21:02:08 looking for coin {"value":"30000000000","currency":{"symbol":"CKB","decimals":8}}
2020/10/07 21:02:08 waiting for available jobs...
2020/10/07 21:02:10 Syncing 4148
[MEMORY] Heap: 1108.465736MB Stack: 0.750000MB System: 1261.006973MB GCs: 10
2020/10/07 21:02:18 Syncing 4149
2020/10/07 21:02:18 processing workflow "request_funds" for job "1"
2020/10/07 21:02:18 looking for coin {"value":"30000000000","currency":{"symbol":"CKB","decimals":8}} on account {"address":"ckt1qyqdn9gxacvm2agj0f6y6xujnrdjf9v9s4ts5r2kgn"}
2020/10/07 21:02:18 processing workflow "transfer"
2020/10/07 21:02:18 looking for coin {"value":"30000000000","currency":{"symbol":"CKB","decimals":8}}
2020/10/07 21:02:18 waiting for available jobs...
2020/10/07 21:02:26 Syncing 4150
[MEMORY] Heap: 1108.712585MB Stack: 0.750000MB System: 1261.006973MB GCs: 10
2020/10/07 21:02:28 processing workflow "request_funds" for job "1"
2020/10/07 21:02:28 looking for coin {"value":"30000000000","currency":{"symbol":"CKB","decimals":8}} on account {"address":"ckt1qyqdn9gxacvm2agj0f6y6xujnrdjf9v9s4ts5r2kgn"}
2020/10/07 21:02:28 processing workflow "transfer"
2020/10/07 21:02:28 looking for coin {"value":"30000000000","currency":{"symbol":"CKB","decimals":8}}
2020/10/07 21:02:28 waiting for available jobs...
2020/10/07 21:02:34 Syncing 4151
[MEMORY] Heap: 1104.993561MB Stack: 0.718750MB System: 1261.006973MB GCs: 11
2020/10/07 21:02:38 processing workflow "request_funds" for job "1"
2020/10/07 21:02:38 looking for coin {"value":"30000000000","currency":{"symbol":"CKB","decimals":8}} on account {"address":"ckt1qyqdn9gxacvm2agj0f6y6xujnrdjf9v9s4ts5r2kgn"}
2020/10/07 21:02:38 processing workflow "transfer"
2020/10/07 21:02:38 looking for coin {"value":"30000000000","currency":{"symbol":"CKB","decimals":8}}
2020/10/07 21:02:38 waiting for available jobs...
2020/10/07 21:02:42 Syncing 4152
[MEMORY] Heap: 1105.195305MB Stack: 0.750000MB System: 1261.006973MB GCs: 11
2020/10/07 21:02:48 processing workflow "request_funds" for job "1"
2020/10/07 21:02:48 looking for coin {"value":"30000000000","currency":{"symbol":"CKB","decimals":8}} on account {"address":"ckt1qyqdn9gxacvm2agj0f6y6xujnrdjf9v9s4ts5r2kgn"}
2020/10/07 21:02:48 processing workflow "transfer"
2020/10/07 21:02:48 looking for coin {"value":"30000000000","currency":{"symbol":"CKB","decimals":8}}
2020/10/07 21:02:48 waiting for available jobs...
2020/10/07 21:02:50 Syncing 4153
[MEMORY] Heap: 1105.383553MB Stack: 0.750000MB System: 1261.006973MB GCs: 11
2020/10/07 21:02:58 Syncing 4154
2020/10/07 21:02:58 processing workflow "request_funds" for job "1"
2020/10/07 21:02:58 looking for coin {"value":"30000000000","currency":{"symbol":"CKB","decimals":8}} on account {"address":"ckt1qyqdn9gxacvm2agj0f6y6xujnrdjf9v9s4ts5r2kgn"}
2020/10/07 21:02:58 processing workflow "transfer"
2020/10/07 21:02:58 looking for coin {"value":"30000000000","currency":{"symbol":"CKB","decimals":8}}
2020/10/07 21:02:58 waiting for available jobs...
2020/10/07 21:03:06 Syncing 4155
[MEMORY] Heap: 1105.627266MB Stack: 0.750000MB System: 1261.006973MB GCs: 11
2020/10/07 21:03:08 processing workflow "request_funds" for job "1"
2020/10/07 21:03:08 looking for coin {"value":"30000000000","currency":{"symbol":"CKB","decimals":8}} on account {"address":"ckt1qyqdn9gxacvm2agj0f6y6xujnrdjf9v9s4ts5r2kgn"}
2020/10/07 21:03:08 processing workflow "transfer"
2020/10/07 21:03:08 looking for coin {"value":"30000000000","currency":{"symbol":"CKB","decimals":8}}
2020/10/07 21:03:08 waiting for available jobs...
2020/10/07 21:03:14 Syncing 4156
[MEMORY] Heap: 1105.820755MB Stack: 0.750000MB System: 1261.006973MB GCs: 11
2020/10/07 21:03:18 processing workflow "request_funds" for job "1"
2020/10/07 21:03:18 looking for coin {"value":"30000000000","currency":{"symbol":"CKB","decimals":8}} on account {"address":"ckt1qyqdn9gxacvm2agj0f6y6xujnrdjf9v9s4ts5r2kgn"}
2020/10/07 21:03:18 processing workflow "transfer"
2020/10/07 21:03:18 looking for coin {"value":"30000000000","currency":{"symbol":"CKB","decimals":8}}
2020/10/07 21:03:18 waiting for available jobs...
[MEMORY] Heap: 1106.904434MB Stack: 0.750000MB System: 1261.006973MB GCs: 14
2020/10/07 21:10:27 Syncing 4210
2020/10/07 21:10:28 processing workflow "request_funds" for job "1"
2020/10/07 21:10:28 looking for coin {"value":"30000000000","currency":{"symbol":"CKB","decimals":8}} on account {"address":"ckt1qyqdn9gxacvm2agj0f6y6xujnrdjf9v9s4ts5r2kgn"}
2020/10/07 21:10:28 processing workflow "transfer"
2020/10/07 21:10:28 looking for coin {"value":"30000000000","currency":{"symbol":"CKB","decimals":8}}
2020/10/07 21:10:28 waiting for available jobs...
2020/10/07 21:10:35 Syncing 4211
[MEMORY] Heap: 1104.902390MB Stack: 0.718750MB System: 1261.006973MB GCs: 15
2020/10/07 21:10:38 processing workflow "request_funds" for job "1"
2020/10/07 21:10:38 looking for coin {"value":"30000000000","currency":{"symbol":"CKB","decimals":8}} on account {"address":"ckt1qyqdn9gxacvm2agj0f6y6xujnrdjf9v9s4ts5r2kgn"}
2020/10/07 21:10:38 processing workflow "transfer"
2020/10/07 21:10:38 looking for coin {"value":"30000000000","currency":{"symbol":"CKB","decimals":8}}
2020/10/07 21:10:38 waiting for available jobs...
2020/10/07 21:10:43 Syncing 4212

@patrick.ogrady

:rocket:

It doesn’t look like this address is funded (unless this is on a simnet)?

@alan.verbner had a similar problem at some point and left a note with the issues that caused their problem. Would you mind checking these?
Construction Automated Test: account balance is always zero for newly created addresses?

If I remember correctly, the root of the problem for them was that they weren’t adding CoinActions for newly created coins. This led to balance tracking not working correctly and deposits not being recognized.

1 Like

thanks, Indeed because of the lack of CoinAction on output @patrick.ogrady :+1:

1 Like

But encountered another error

Error: unable to get key for {"address":"ckt1qyqdwss2ddy5urq2pfdmxwdw45qtc26lucrsy3qyec","metadata":{"lock_type":"Secp256k1Blake160Lock"}}: address not found: {"address":"ckt1qyqdwss2ddy5urq2pfdmxwdw45qtc26lucrsy3qyec","metadata":{"lock_type":"Secp256k1Blake160Lock"}}: unable to sign payloads: unable to create transaction

this address created by create_account workflow why can’t it find the key? @patrick.ogrady

In the Rosetta DSL snippet you shared above, it doesn’t look like you set the AccountIdentifier.Metadata to {"lock_type":"Secp256k1Blake160Lock"}.

KeyStorage hashes the AccountIdentifier field to lookup stored keys (if any part of the AccountIdentifier is different, it will fail). Doing this allows for storing multiple keys with one “address”.

Hope that helps! @kingstone

1 Like