{"id":361,"date":"2020-09-29T22:08:40","date_gmt":"2020-09-29T22:08:40","guid":{"rendered":"http:\/\/bitcoinsv-io.bitproton.com\/?post_type=miner_document&p=361"},"modified":"2020-10-05T00:25:39","modified_gmt":"2020-10-04T23:25:39","slug":"system-architecture","status":"publish","type":"miner_document","link":"https:\/\/bitcoinsv.io\/documentation\/miners\/system-architecture\/","title":{"rendered":"System Architecture"},"content":{"rendered":"\n
\"\"<\/figure><\/div>\n\n\n\n

Bitcoind<\/h2>\n\n\n\n

External (p2p network):<\/p>\n\n\n\n

  • discovers and connects to other nodes<\/li>
  • send and receive messages to and from other nodes<\/li><\/ul>\n\n\n\n

    Internal:<\/p>\n\n\n\n

    • exposes RPC to pool software and to mAPI<\/li>
    • optional REST Interface can be enabled<\/li><\/ul>\n\n\n\n

      Pool Software<\/h2>\n\n\n\n

      External (stratum protocol):<\/p>\n\n\n\n

      • exposed API for ASIC Miners to connect and start mining block headers<\/li>
      • send jobs to ASIC Miners<\/li>
      • receive valid shares or valid block headers<\/li><\/ul>\n\n\n\n

        Internal (MinerID):<\/p>\n\n\n\n

        • request coinbase document from MinerID in order to include it in coinbase transaction<\/li>
        • receive signed coinbase document (or coinbase2) from MinerID<\/li><\/ul>\n\n\n\n

          mAPI<\/h2>\n\n\n\n

          External (mAPI public interface):<\/p>\n\n\n\n

          • expose mAPI calls to the public to advertise fee quote as well as receive transactions<\/li>
          • accept callback registrations for event notifications<\/li>
          • respond with fee quote and transaction responses (and Merkle Proofs)<\/li><\/ul>\n\n\n\n

            Internal (Bitcoind RPC):<\/p>\n\n\n\n

            • connect to Bitcoind RPC to submit transactions<\/li>
            • receive transaction response (eg. txid)<\/li>
            • provide event notifications for double spends and Merkle Proofs.<\/li><\/ul>\n","protected":false},"parent":0,"menu_order":0,"template":"","meta":[],"tags":[],"minerdoc_category":[6],"lang":"en","translations":{"zh":4546,"en":361},"yoast_head":"\nSystem Architecture - Bitcoin SV<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/bitcoinsv.io\/documentation\/miners\/system-architecture\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"System Architecture - Bitcoin SV\" \/>\n<meta property=\"og:description\" content=\"Bitcoind External (p2p network): discovers and connects to other nodes send and receive messages to and from other nodes Internal: exposes RPC to pool software and to mAPI optional REST Interface can be enabled Pool Software External (stratum protocol): exposed API for ASIC Miners to connect and start mining block headers send jobs to ASIC […]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/bitcoinsv.io\/documentation\/miners\/system-architecture\/\" \/>\n<meta property=\"og:site_name\" content=\"Bitcoin SV\" \/>\n<meta property=\"article:modified_time\" content=\"2020-10-04T23:25:39+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/bitcoinsv.io\/wp-content\/uploads\/2020\/09\/architecture2-1024x514.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@BitcoinSVNode\" \/>\n<meta name=\"twitter:site\" content=\"@BitcoinSVNode\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https:\/\/bitcoinsv.io\/#organization\",\"name\":\"Bitcoin SV\",\"url\":\"https:\/\/bitcoinsv.io\/\",\"sameAs\":[\"https:\/\/twitter.com\/BitcoinSVNode\"],\"logo\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/bitcoinsv.io\/#logo\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/bitcoinsv.io\/wp-content\/uploads\/2020\/10\/bsv-logo-wh-medium.png\",\"width\":800,\"height\":144,\"caption\":\"Bitcoin SV\"},\"image\":{\"@id\":\"https:\/\/bitcoinsv.io\/#logo\"}},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/bitcoinsv.io\/#website\",\"url\":\"https:\/\/bitcoinsv.io\/\",\"name\":\"Bitcoin SV\",\"description\":\"Just another WordPress site\",\"publisher\":{\"@id\":\"https:\/\/bitcoinsv.io\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":\"https:\/\/bitcoinsv.io\/?s={search_term_string}\",\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/bitcoinsv.io\/documentation\/miners\/system-architecture\/#primaryimage\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/bitcoinsv.io\/wp-content\/uploads\/2020\/09\/architecture2.png\",\"width\":2180,\"height\":1094},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/bitcoinsv.io\/documentation\/miners\/system-architecture\/#webpage\",\"url\":\"https:\/\/bitcoinsv.io\/documentation\/miners\/system-architecture\/\",\"name\":\"System Architecture - Bitcoin SV\",\"isPartOf\":{\"@id\":\"https:\/\/bitcoinsv.io\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/bitcoinsv.io\/documentation\/miners\/system-architecture\/#primaryimage\"},\"datePublished\":\"2020-09-29T22:08:40+00:00\",\"dateModified\":\"2020-10-04T23:25:39+00:00\",\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/bitcoinsv.io\/documentation\/miners\/system-architecture\/\"]}]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","pll_sync_post":[],"_links":{"self":[{"href":"https:\/\/bitcoinsv.io\/wp-json\/wp\/v2\/miner_document\/361"}],"collection":[{"href":"https:\/\/bitcoinsv.io\/wp-json\/wp\/v2\/miner_document"}],"about":[{"href":"https:\/\/bitcoinsv.io\/wp-json\/wp\/v2\/types\/miner_document"}],"version-history":[{"count":2,"href":"https:\/\/bitcoinsv.io\/wp-json\/wp\/v2\/miner_document\/361\/revisions"}],"predecessor-version":[{"id":4613,"href":"https:\/\/bitcoinsv.io\/wp-json\/wp\/v2\/miner_document\/361\/revisions\/4613"}],"wp:attachment":[{"href":"https:\/\/bitcoinsv.io\/wp-json\/wp\/v2\/media?parent=361"}],"wp:term":[{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/bitcoinsv.io\/wp-json\/wp\/v2\/tags?post=361"},{"taxonomy":"minerdoc_category","embeddable":true,"href":"https:\/\/bitcoinsv.io\/wp-json\/wp\/v2\/minerdoc_category?post=361"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}