Skip to content
This repository was archived by the owner on Jul 19, 2024. It is now read-only.

1Pcpxw6wJwXABhjCspe3CNf3gqSeh6eien and get_market_details issue #157

@droplister

Description

@droplister

For a number of markets, when you call 'get_market_details', there is a 'last_trades' false positive which appears for many different asset pairs, some of them are listed below.

    $this->counterblock->execute('get_market_details', [
        'asset1' => 'WPPEPE',
        'asset2' => 'XCP'
    ]);
    $this->counterblock->execute('get_market_details', [
        'asset1' => 'PEPESUS',
        'asset2' => 'XCP'
    ]);
    $this->counterblock->execute('get_market_details', [
        'asset1' => 'MOONPEPE',
        'asset2' => 'XCP'
    ]);

The trade in question is:

    {
      "countersource": "1Pcpxw6wJwXABhjCspe3CNf3gqSeh6eien",
      "amount": 1000000000,
      "match_id": "514b1ef2d10bf67c2a635f65d99c05a0f18673b98a65f317cfe22206c6125071_df91e13d183e4513254b89f57116bd1e80fcc618cad5f6e87c2a37fc2ae9eb76",
      "total": 1000000000,
      "type": "BUY",
      "source": "1Pcpxw6wJwXABhjCspe3CNf3gqSeh6eien",
      "price": "1.00000000",
      "status": "completed",
      "block_time": 1401221942,
      "block_index": 302903
    }

Which is someone trading XCP for XCP, with themselves.

See: http://blockscan.com/orderInfo/14450


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions