Skip to content

Reason of different inter-process communication #72

Description

@NeutrinoLiu

when i was learning your code, a question is raised that:
when you deliver the chain from "miner" to "flask server", you use pipe.
but when you deliver the transaction pool from "flask server" to "miner", you use http get.

is there a special reason or consideration for this inconsistency? or it is because only one pipe can be send to flask? (im not sure about it); also i believe pipe is duplex.

besides, this args seems totally useless, because what your get_blocks() api used is the global variable b, the input args is no way to be referred.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions