Title: The unit_tests chapter is difficult to understand at times because of the language · Issue #116 · ProgrammingBlockchain/ProgrammingBlockchain · GitHub
Open Graph Title: The unit_tests chapter is difficult to understand at times because of the language · Issue #116 · ProgrammingBlockchain/ProgrammingBlockchain
X Title: The unit_tests chapter is difficult to understand at times because of the language · Issue #116 · ProgrammingBlockchain/ProgrammingBlockchain
Description: In real life, you would either depend on a third party API to fetch the colored coins of a transaction or a balance. Which might not be a good idea, because it add a trust dependency to your program with the API provider. When using eith...
Open Graph Description: In real life, you would either depend on a third party API to fetch the colored coins of a transaction or a balance. Which might not be a good idea, because it add a trust dependency to your progra...
X Description: In real life, you would either depend on a third party API to fetch the colored coins of a transaction or a balance. Which might not be a good idea, because it add a trust dependency to your progra...
Opengraph URL: https://github.com/ProgrammingBlockchain/ProgrammingBlockchain/issues/116
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"The unit_tests chapter is difficult to understand at times because of the language","articleBody":"\u003e In real life, you would either depend on a third party API to fetch the colored coins of a transaction or a balance. Which might not be a good idea, because it add a trust dependency to your program with the API provider. \r\n\r\nWhen using `either` you need to have an `or` counterpart.\r\nExample: `You can either go left or right`.\r\n\r\nThe author of the quoted text might be trying to tell us that,\r\nin order to fetch the coloured coins of a transaction, we can\r\neither use a third party API or a balance.\r\n\r\nBut I think it is more likely that the or part of the sentence was simply omitted.\r\n\r\n\u003e **NBitcoin** allows you either to depend on a web service, either to provide your own implementation for fetching the color of a **Transaction**. This allows you to have a flexible way to unit test your code, use another implementation or your own. \r\n\r\nI think the author means `allows you to either depend on a webserver or provide your own implementation to fetch the color of a transaction` \r\n\r\n\r\n","author":{"url":"https://github.com/timothyparez","@type":"Person","name":"timothyparez"},"datePublished":"2018-09-28T05:07:53.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/116/ProgrammingBlockchain/issues/116"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:e25e2adc-628b-e1c3-129b-9e3ab95a2645 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9462:2DC926:FC4C6:166025:696F9F82 |
| html-safe-nonce | 44a446bb558a42b3e36c1111760b5d97d61e8003439647c334375e246e2a9b4b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NDYyOjJEQzkyNjpGQzRDNjoxNjYwMjU6Njk2RjlGODIiLCJ2aXNpdG9yX2lkIjoiMzgzODYxMDQ4MjY0OTg2NjExNCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | a313a8973f0811f4ab86aafa6def6755f0098693edb2d935f43149648544ef53 |
| hovercard-subject-tag | issue:364742757 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/ProgrammingBlockchain/ProgrammingBlockchain/116/issue_layout |
| twitter:image | https://opengraph.githubassets.com/81682556697d1fd6b9d973d11aa1ebabf0e49dfe2cf74bf1b91eba3fd4727b85/ProgrammingBlockchain/ProgrammingBlockchain/issues/116 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/81682556697d1fd6b9d973d11aa1ebabf0e49dfe2cf74bf1b91eba3fd4727b85/ProgrammingBlockchain/ProgrammingBlockchain/issues/116 |
| og:image:alt | In real life, you would either depend on a third party API to fetch the colored coins of a transaction or a balance. Which might not be a good idea, because it add a trust dependency to your progra... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | timothyparez |
| hostname | github.com |
| expected-hostname | github.com |
| None | 0ca8d8c65612640b9a1a588b3eed68222ca723ed2d028b18fe81b28936d535eb |
| turbo-cache-control | no-preview |
| go-import | github.com/ProgrammingBlockchain/ProgrammingBlockchain git https://github.com/ProgrammingBlockchain/ProgrammingBlockchain.git |
| octolytics-dimension-user_id | 19280161 |
| octolytics-dimension-user_login | ProgrammingBlockchain |
| octolytics-dimension-repository_id | 58435690 |
| octolytics-dimension-repository_nwo | ProgrammingBlockchain/ProgrammingBlockchain |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 58435690 |
| octolytics-dimension-repository_network_root_nwo | ProgrammingBlockchain/ProgrammingBlockchain |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 95f60616ce2765d1114fe6da4af405a58c6d26d2 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width