From 2b4459c0192f132432c449e7dda16a824fcbae5d Mon Sep 17 00:00:00 2001 From: Jeremy Kauffman Date: Thu, 17 Jan 2019 16:50:06 -0500 Subject: [PATCH 1/2] overview refactor --- app/components/client/ecosystem-scripts.js | 45 ------------------- .../ecosystem/module-applications.js | 24 ++-------- app/components/ecosystem/module-lbry.js | 32 +++---------- app/components/ecosystem/module-lbrycrd.js | 18 +++----- .../ecosystem/submodule-chainquery.js | 16 ++----- .../ecosystem/submodule-lighthouse.js | 15 ++----- .../ecosystem/submodule-reflector.js | 15 ++----- app/components/ecosystem/submodule-wallet.js | 15 ++----- app/sass/pages/_page.scss | 3 -- app/sass/partials/_ecosystem.scss | 21 ++++----- documents/contribute.md | 4 +- documents/glossary.md | 8 ++++ documents/overview.md | 23 +++++----- documents/partials/overview/applications.md | 17 +++++++ documents/partials/overview/chainquery.md | 3 ++ documents/partials/{ => overview}/lbrycrd.md | 8 ++-- documents/partials/overview/lbrysdk.md | 16 +++++++ documents/partials/overview/lighthouse.md | 1 + documents/partials/overview/reflector.md | 1 + documents/partials/overview/wallet-server.md | 3 ++ 20 files changed, 105 insertions(+), 183 deletions(-) create mode 100644 documents/partials/overview/applications.md create mode 100644 documents/partials/overview/chainquery.md rename documents/partials/{ => overview}/lbrycrd.md (60%) create mode 100644 documents/partials/overview/lbrysdk.md create mode 100644 documents/partials/overview/lighthouse.md create mode 100644 documents/partials/overview/reflector.md create mode 100644 documents/partials/overview/wallet-server.md diff --git a/app/components/client/ecosystem-scripts.js b/app/components/client/ecosystem-scripts.js index 8fd87f5..f915142 100644 --- a/app/components/client/ecosystem-scripts.js +++ b/app/components/client/ecosystem-scripts.js @@ -88,18 +88,6 @@ function openSubmodule(ecosystemComponentClassName) { case (ecosystemComponentClassName === "chainquery"): setSubmoduleConnectionTitle(ecosystemComponentClassName); - if (document.getElementsByClassName(ecosystemComponentClassName)[0].classList.contains("green")) { - document.querySelector(`.${ecosystemComponentClassName} .__connection-details`).innerHTML = ` - ${ecosystemComponentClassName} is an application built on top of LBRY. - `; - } - - if (document.getElementsByClassName(ecosystemComponentClassName)[0].classList.contains("red")) { - document.querySelector(`.${ecosystemComponentClassName} .__connection-details`).innerHTML = ` - ${ecosystemComponentClassName} is an application built on top of the LBRY blockchain. - `; - } - document.getElementsByClassName("ecosystem")[0].className += " expand-left"; document.getElementsByClassName(ecosystemComponentClassName)[0].className += " active"; @@ -111,18 +99,6 @@ function openSubmodule(ecosystemComponentClassName) { case (ecosystemComponentClassName === "wallet"): setSubmoduleConnectionTitle(ecosystemComponentClassName); - if (document.getElementsByClassName(ecosystemComponentClassName)[0].classList.contains("blue")) { - document.querySelector(`.${ecosystemComponentClassName} .__connection-details`).innerHTML = ` - ${ecosystemComponentClassName} is an application built on top of the LBRY data network. - `; - } - - if (document.getElementsByClassName(ecosystemComponentClassName)[0].classList.contains("red")) { - document.querySelector(`.${ecosystemComponentClassName} .__connection-details`).innerHTML = ` - ${ecosystemComponentClassName} is an application built on top of the LBRY blockchain. - `; - } - document.getElementsByClassName("ecosystem")[0].className += " expand-left"; document.getElementsByClassName(ecosystemComponentClassName)[0].className += " active"; @@ -134,18 +110,6 @@ function openSubmodule(ecosystemComponentClassName) { case (ecosystemComponentClassName === "lighthouse"): setSubmoduleConnectionTitle(ecosystemComponentClassName); - if (document.getElementsByClassName(ecosystemComponentClassName)[0].classList.contains("green")) { - document.querySelector(`.${ecosystemComponentClassName} .__connection-details`).innerHTML = ` - ${ecosystemComponentClassName} is an application built on top of LBRY. - `; - } - - if (document.getElementsByClassName(ecosystemComponentClassName)[0].classList.contains("red")) { - document.querySelector(`.${ecosystemComponentClassName} .__connection-details`).innerHTML = ` - ${ecosystemComponentClassName} is an application built on top of the LBRY blockchain. - `; - } - document.getElementsByClassName("ecosystem")[0].className += " expand-right"; document.getElementsByClassName(ecosystemComponentClassName)[0].className += " active"; @@ -157,12 +121,6 @@ function openSubmodule(ecosystemComponentClassName) { case (ecosystemComponentClassName === "reflector"): setSubmoduleConnectionTitle(ecosystemComponentClassName); - if (document.getElementsByClassName(ecosystemComponentClassName)[0].classList.contains("blue")) { - document.querySelector(`.${ecosystemComponentClassName} .__connection-details`).innerHTML = ` - ${ecosystemComponentClassName} is an application built on top of the LBRY data network. - `; - } - document.getElementsByClassName("ecosystem")[0].className += " expand-right"; document.getElementsByClassName(ecosystemComponentClassName)[0].className += " active"; @@ -213,17 +171,14 @@ for (const subModule of subModules) { function setSubmoduleConnectionTitle(submoduleClass) { if (document.getElementsByClassName(submoduleClass)[0].classList.contains("blue")) { - document.querySelector(`.${submoduleClass} .__connection`).innerHTML = "Connection to Data Network"; document.querySelector(`.${submoduleClass} .__parent.blue`).className += " active"; } if (document.getElementsByClassName(submoduleClass)[0].classList.contains("green")) { - document.querySelector(`.${submoduleClass} .__connection`).innerHTML = "Connection to Applications"; document.querySelector(`.${submoduleClass} .__parent.green`).className += " active"; } if (document.getElementsByClassName(submoduleClass)[0].classList.contains("red")) { - document.querySelector(`.${submoduleClass} .__connection`).innerHTML = "Connection to Blockchain"; document.querySelector(`.${submoduleClass} .__parent.red`).className += " active"; } } diff --git a/app/components/ecosystem/module-applications.js b/app/components/ecosystem/module-applications.js index 2f8cdd0..1f559a2 100644 --- a/app/components/ecosystem/module-applications.js +++ b/app/components/ecosystem/module-applications.js @@ -1,8 +1,8 @@ "use strict"; +import { require as local } from "app-root-path"; - -// E X P O R T +const markdown = local("/app/components/markdown").default; export default () => `
@@ -11,7 +11,7 @@ export default () => `

Applications - Browsers, spee.ch, and ∞ + Desktop clients, mobile apps, websites and ∞ more
@@ -22,23 +22,7 @@ export default () => `

-

Applications are the final level of the LBRY stack, and they represent how most people will actually use LBRY.

-

LBRY Inc. currently releases and maintains three applications:

- -
    -
  • lbry-desktop, a desktop browser for the LBRY network based in React and Electron.
  • -
  • lbry-android, an Android browser for the LBRY network in React Native.
  • -
  • spee.ch, a web-based viewer and link dump for free LBRY content.
  • -
- -

However, the very idea of LBRY is that there's not just one way to interact with the network. Anyone can build on top of LBRY in a permissionless manner. These applications exist to show what's possible and to give new users a user-friendly way to use LBRY.

- -

Additional Resources

-
    -
  • See Contribute for learning how to contribute to existing LBRY apps.
  • -
  • See [[Something]] for how to set up your own custom instance of spee.ch.
  • -
  • See Build for learning how to build your own app!
  • -
+ ${markdown("./documents/partials/overview/applications.md")}
`; diff --git a/app/components/ecosystem/module-lbry.js b/app/components/ecosystem/module-lbry.js index 4d7f9fc..8ee3585 100644 --- a/app/components/ecosystem/module-lbry.js +++ b/app/components/ecosystem/module-lbry.js @@ -1,8 +1,8 @@ "use strict"; +import { require as local } from "app-root-path"; - -// E X P O R T +const markdown = local("/app/components/markdown").default; export default () => `
@@ -11,35 +11,17 @@ export default () => `

Data Network - The "nuts and bolts" (fix this) of the LBRY protocol + What makes the LBRY blockchain useful.
- lbry - lbryschema - torba + lbrysdk + lbryschema

- +
-

While blockchain is the innovation that makes LBRY possible, the Data Network is the layer that actually makes the blockchain useful.

-

The primary component for this level is lbry, a daemon that:

- -
    -
  • Interprets and validates metadata in the LBRY blockchain via [lbryschema].
  • -
  • Accesses and distributes the data referenced by metadata in the LBRY blockchain via a peer-to-peer network.
  • -
  • Provides wallet functionality via an [[SPV]] wallet ([torba]).
  • -
  • Facilitates building applications by being easily bundable and providing a simple, clean API for the LBRY protocol.
  • -
-

Unless choosing to re-implement aspects of the LBRY protocol by hand, most applications that interact with the LBRY network will bundle lbry.

- -

Additional Resources

-
    -
  • See the Whitepaper for a more comprehensive introduction to the LBRY data network.
  • -
  • See Resources for documentation of the LBRY APIs.
  • -
  • See [[Whatever]] for learning more about LBRY distributes data.
  • -
  • See Build for learning how to use the daemon to solve your own problem or build your own app!
  • -
+ ${markdown("./documents/partials/overview/lbrysdk.md")}
`; diff --git a/app/components/ecosystem/module-lbrycrd.js b/app/components/ecosystem/module-lbrycrd.js index b80ab93..2f6b0a1 100644 --- a/app/components/ecosystem/module-lbrycrd.js +++ b/app/components/ecosystem/module-lbrycrd.js @@ -1,19 +1,9 @@ "use strict"; - - -// P A C K A G E - import { require as local } from "app-root-path"; -// U T I L - const markdown = local("/app/components/markdown").default; - - -// E X P O R T - export default () => `
× @@ -21,16 +11,18 @@ export default () => `

Blockchain - The foundation of the LBRY protocol + The foundation of the LBRY protocol.
- lbrycrd + lbrycrd + torba + lbryumx

- ${markdown("./documents/partials/lbrycrd.md")} + ${markdown("./documents/partials/overview/lbrycrd.md")}
`; diff --git a/app/components/ecosystem/submodule-chainquery.js b/app/components/ecosystem/submodule-chainquery.js index 0383df7..769310c 100644 --- a/app/components/ecosystem/submodule-chainquery.js +++ b/app/components/ecosystem/submodule-chainquery.js @@ -1,8 +1,8 @@ "use strict"; +import { require as local } from "app-root-path"; - -// E X P O R T +const markdown = local("/app/components/markdown").default; export default () => `
@@ -10,17 +10,9 @@ export default () => `
-

Overview

-

The model of Chainquery at its foundation consists of the fundamental data types found in the blockchain. This information is then expounded on with additional columns and tables that make querying the data much easier.

- -

Connection to...

-

- -

Source

- + ${markdown("./documents/partials/overview/chainquery.md")}
+
  • Applications
  • Blockchain
  • diff --git a/app/components/ecosystem/submodule-lighthouse.js b/app/components/ecosystem/submodule-lighthouse.js index 17332a7..4e1e863 100644 --- a/app/components/ecosystem/submodule-lighthouse.js +++ b/app/components/ecosystem/submodule-lighthouse.js @@ -1,8 +1,8 @@ "use strict"; +import { require as local } from "app-root-path"; - -// E X P O R T +const markdown = local("/app/components/markdown").default; export default () => `
    @@ -10,16 +10,7 @@ export default () => `
    -

    Overview

    -

    Lighthouse is a lightning-fast advanced search engine API for publications on the lbrycrd with autocomplete capabilities.

    - -

    Connection to...

    -

    - -

    Source

    - + ${markdown("./documents/partials/overview/lighthouse.md")}
      diff --git a/app/components/ecosystem/submodule-reflector.js b/app/components/ecosystem/submodule-reflector.js index 8507b89..844422d 100644 --- a/app/components/ecosystem/submodule-reflector.js +++ b/app/components/ecosystem/submodule-reflector.js @@ -1,8 +1,8 @@ "use strict"; +import { require as local } from "app-root-path"; - -// E X P O R T +const markdown = local("/app/components/markdown").default; export default () => `
      @@ -10,16 +10,7 @@ export default () => `
      -

      Overview

      -

      A reflector cluster to accept LBRY content for hosting en masse, rehost the content, and make money on data fees (TODO). This code includes Go implementations of the LBRY peer protocol, reflector protocol, and DHT.

      - -

      Connection to...

      -

      - -

      Source

      - + ${markdown("./documents/partials/overview/reflector.md")}
        diff --git a/app/components/ecosystem/submodule-wallet.js b/app/components/ecosystem/submodule-wallet.js index 6bd57ee..c50851d 100644 --- a/app/components/ecosystem/submodule-wallet.js +++ b/app/components/ecosystem/submodule-wallet.js @@ -1,8 +1,8 @@ "use strict"; +import { require as local } from "app-root-path"; - -// E X P O R T +const markdown = local("/app/components/markdown").default; export default () => `
        @@ -10,16 +10,7 @@ export default () => `
        -

        Overview

        -

        Provides a secured payment gateway and address subscription service between the lbry-sdk and the blockchain protocol.

        - -

        Connection to...

        -

        - -

        Source

        - + ${markdown("./documents/partials/overview/wallet-server.md")}
          diff --git a/app/sass/pages/_page.scss b/app/sass/pages/_page.scss index e7ce7cf..f1e79c0 100644 --- a/app/sass/pages/_page.scss +++ b/app/sass/pages/_page.scss @@ -42,9 +42,6 @@ } .page__content { - background-image: url("/assets/media/images/grid.png"); - background-repeat: repeat; - background-size: 32px; flex: 1; padding-top: 2rem; padding-right: env(safe-area-inset-right); diff --git a/app/sass/partials/_ecosystem.scss b/app/sass/partials/_ecosystem.scss index 05869c1..aaded55 100644 --- a/app/sass/partials/_ecosystem.scss +++ b/app/sass/partials/_ecosystem.scss @@ -77,7 +77,7 @@ width: 100%; top: 0.9rem; right: 3rem; - content: "explore"; + content: "key repositories"; font-size: 80%; font-style: italic; opacity: 0.3; @@ -186,6 +186,7 @@ margin-bottom: 1rem; } + &.lbrycrd, &.lbry, &.applications { &:not(.active) { @@ -206,8 +207,14 @@ } &.lbrycrd { - &:not(.active)::before { - background-color: $lbry-red-3; + &:not(.active) { + &::before { + background-color: $lbry-red-3; + } + + h2::after { + content: "◼︎"; + } } &.active::before { @@ -238,7 +245,7 @@ } h2::after { - content: "◼︎◼︎◼︎◼︎◼︎"; + content: "◼︎◼︎◼︎︎"; } } @@ -352,12 +359,6 @@ } } -.ecosystem__submodule__description__title { - color: $lbry-gray-4; - letter-spacing: 0.1rem; - text-transform: uppercase; -} - .__parents { top: 2rem; right: 4rem; diff --git a/documents/contribute.md b/documents/contribute.md index 7a12774..5d495dd 100644 --- a/documents/contribute.md +++ b/documents/contribute.md @@ -10,9 +10,9 @@ This is a guide for contributing to the code bases maintained by the LBRY organi Contributors that provide accepted pull requests, well-specified issues, or assist in testing and quality assurance typically receive LBC tokens as [appreciation](#appreciation). -## Ecosystem Overview +## Repository Overview -Typical usage of LBRY does not involve a single piece of software, but several interacting components. +Typical usage of LBRY does not involve a single piece of software, but several interacting components. If you're new to LBRY, our [Ecosystem Overview](/overview#ecosystem-overview) will teach you how various components interact. If you want to contribute to LBRY, there's definitely something for you! The first step is to figure out what project to work on. diff --git a/documents/glossary.md b/documents/glossary.md index 97972c7..274e977 100644 --- a/documents/glossary.md +++ b/documents/glossary.md @@ -38,6 +38,10 @@ Chainquery provides a SQLized view of the LBRY blockchain. The model of Chainque Informal name for a portion of a *transaction output* that is returned to a sender as a "change" after spending that output. Since *transaction outputs* cannot be partially spent, one can spend 1 BTC out of 3 BTC output only be creating two new outputs: a "payment" output with 1 BTC sent to a payee address, and a "change" output with remaining 2 BTC (minus *transaction fees*) sent to the payer's addresses. +### Channel + +A channel is a cryptographically signed pseudoymn used to provide identity on the LBRY network. For specific details, see the [Channels section](/whitepaper#channels) of the specification. + ### Channel Claim Signature Creating a channel claim certificate allows you to group and identify claims based on an identity. A certificate is used to sign the claims and ensure uniqueness along with the claim ID. See [channel signing](https://lbry.tech/resources/signing-claim) for more information. @@ -130,6 +134,10 @@ LBRY POW calculation uses three cryptographic hash functions: SHA-512, SHA-256 a A measure of mining hardware performance expressed in hashes per second (GH/s). Click [here](https://www.tokens24.com/cryptopedia/basics/bitcoin-hash-rate) for more details. +### Identity + +A synonym for [[channel]] and used interchangeably. + ### Key Could mean an ECDSA public or private key, or an AES symmetric encryption key. AES is not used in the protocol itself (it only encrypts the ECDSA keys and other sensitive data), so usually the word *key* means an ECDSA key. When talking about *keys*, people usually mean private keys as public keys can always be derived from a private one. See also *Private Key* and *Public Key*. diff --git a/documents/overview.md b/documents/overview.md index 8369da3..d511064 100644 --- a/documents/overview.md +++ b/documents/overview.md @@ -6,32 +6,31 @@ title: Overview What if anyone in the world could publish digital content, anyone else in the world could access it (for free or for payment), and that entire system worked without any centralized authority or point of control? -That's the mission of LBRY. - -That's a fancy sentence, so here's a plainer one: we just thought it'd be really damn cool if there was a system that made it easy to discover and distribute as much of the world's information as possible but was owned and controlled by no one. +That's a fancy sentence, so here's a plain one: we thought it'd be damn cool if there was a system that made it easy to discover and distribute as much of the world's information as possible but was owned and controlled by no one. -^1(#footnote-1)^ In the information theoretic sense, LBRY facilitates distribution of all data, whether it be a video or a spreadsheet. +^1(#footnote-1)^ In the information theoretic sense, LBRY facilitates distribution of all data, whether it be a video or a spreadsheet. -^2(#footnote-2)^ Accessible anywhere in the world on any internet-connected device. +^2(#footnote-2)^ Accessible anywhere in the world on any internet-connected device. -^3(#footnote-3)^ Not controlled by any one person, party or authority. +^3(#footnote-3)^ Not controlled by any one person, party or authority. -^4(#footnote-4)^ Resistant to censorship or attempts to control; impervious to attacks or disruptions. +^4(#footnote-4)^ Resistant to censorship or attempts to control; impervious to attacks or disruptions. -^5(#footnote-5)^ In the Pareto sense, with regards to the production and distribution of information (i.e. digital information is both created and distributed in a way that could not be any more efficient from the perspectives of information producers and consumers). +^5(#footnote-5)^ In the Pareto sense, with regards to the production and distribution of information (i.e. digital information is both created and distributed in a way that could not be any more efficient from the perspectives of information producers and consumers). -^6(#footnote-6)^ The most complete collection of world’s books, films, art, games, etc. should be available via LBRY. +^6(#footnote-6)^ The most complete collection of world’s books, films, art, games, etc. should be available via LBRY. ## Ecosystem Overview -Learn more about how LBRY works from this ecosystem overview. +Learn more about the specific components that make LBRY possible. ## Keep Diving -- Explore live metadata and add your own blockchain entry on [the Playground](/playground). -- Read the whitepaper, API specification and other documentation in [Resources](/resources). +- Explore live metadata and add your own blockchain entry in the [Playground](/playground). +- Read the [whitepaper](/whitepaper) to know more about LBRY than the person who made this website. +- Find API specifications and other learning materials in [Resources](/resources). - Learn how to [contribute to LBRY](/contribute) or [build your own application](/build). diff --git a/documents/partials/overview/applications.md b/documents/partials/overview/applications.md new file mode 100644 index 0000000..642dd2d --- /dev/null +++ b/documents/partials/overview/applications.md @@ -0,0 +1,17 @@ +Applications are the final level of the LBRY stack. They represent how most people will actually use LBRY. + +Applications typically use the [[lbry-sdk]], which provides convenient API methods for building applications. + +LBRY Inc. currently releases and maintains three applications: + +- [LBRY Desktop](https://github.com/lbryio/lbry-desktop), a desktop browser for the LBRY network based in React and Electron available on Windows, macOS, and Linux. +- [LBRY Android](https://github.com/lbryio/lbry-android), an Android browser for the LBRY network in React Native and available in the playstore. +- [spee.ch](https://github.com/lbryio/spee.ch), a web-based sharing and organizational app designed for self-hosting. + +A central idea of LBRY is that there's _not_ a singular way to interact with the network. Anyone can build on top of LBRY in a permissionless manner. LBRY Inc. maintains open-source applications to show what's possible and to give new users a user-friendly to use the network. + +### Additional Resources + +- [Build](/build) teaches you how to create your own app. +- [Contribute](/contribute) guides you on how to improve LBRY Inc. applications. +- [spee.ch README](https://github.com/lbryio/spee.ch) explains how to host your own instance. diff --git a/documents/partials/overview/chainquery.md b/documents/partials/overview/chainquery.md new file mode 100644 index 0000000..fb81834 --- /dev/null +++ b/documents/partials/overview/chainquery.md @@ -0,0 +1,3 @@ +Chainquery is a tool to facilitate simple and efficient access to the data contained within the LBRY blockchain. + +Chainquery is a special type of full blockchain node that monitors and parses transactions into an SQL database. It also adds convenience columns and tables designed for common use cases. diff --git a/documents/partials/lbrycrd.md b/documents/partials/overview/lbrycrd.md similarity index 60% rename from documents/partials/lbrycrd.md rename to documents/partials/overview/lbrycrd.md index 683ffa1..8ed9cd1 100644 --- a/documents/partials/lbrycrd.md +++ b/documents/partials/overview/lbrycrd.md @@ -1,4 +1,4 @@ -_This section assumes "blockchain" already means something to you. If you're totally new, the key problem solved by blockhain is the ability for distributed, disparate entities to all agree on a rivalrous state of affairs. For a more comprehensive introduction to blockchain, try starting [here](https://lopp.net/bitcoin.html)_ +_This section assumes "blockchain" already means something to you. If you're new, the central problem solved by blockchain is the ability for distributed, disparate entities to all agree on a rivalrous state of affairs. For a thorough introduction to blockchain, start [here](https://lopp.net/bitcoin.html)_ LBRY uses a public, proof-of-work blockchain that is very similar to Bitcoin. The blockchain is the foundation of the protocol stack. @@ -10,7 +10,5 @@ The metadata contains information about the content, such as the title, creator, ### Additional Resources -* See the [Whitepaper](/whitepaper "Whitepaper") for a more comprehensive introduction to the LBRY blockchain. -* See the [Resources](/resources) for documentation about the LBRY blockchain, including its API. -* See [[Naming]] for learning more about LBRY URLs and how they work. -* See [[Identities]] for learning how the LBRY blockchain handles publisher identities. +- The [Whitepaper](/whitepaper "Whitepaper") contains a comprehensive documentation of the LBRY blockchain. +- [Resources](/resources) has documentation about using the LBRY blockchain, including its APIs. diff --git a/documents/partials/overview/lbrysdk.md b/documents/partials/overview/lbrysdk.md new file mode 100644 index 0000000..283c8d5 --- /dev/null +++ b/documents/partials/overview/lbrysdk.md @@ -0,0 +1,16 @@ +While the blockchain is the innovation that makes LBRY _possible_, the Data Network is the layer that actually makes the blockchain _useful_. + +At this level: + +- Metadata stored in the blockchain is interpreted and validated. +- Data referenced by metadata is accessed and distributed via a peer-to-peer network. +- [[Identities]] are created, signed, and validated. + +Data network operations are provided by the [lbrysdk](https://github.com/lbryio/lbry). This SDK also provides local wallet functionality and a set of APIs to facilitate building applications. + +### Additional Resources + +- The [Whitepaper](/whitepaper "Whitepaper") contains a comprehensive specification of data network operations. +- [Resources](/resources) has further documentation on the LBRY SDK, including its APIs. +- [Build](/build) teaches you how to create your own app. +- [Contribute](/contribute) guides you on how to improve the protocol itself. diff --git a/documents/partials/overview/lighthouse.md b/documents/partials/overview/lighthouse.md new file mode 100644 index 0000000..acfddaf --- /dev/null +++ b/documents/partials/overview/lighthouse.md @@ -0,0 +1 @@ +Lighthouse is a fast, advanced search engine for searching metadata stored in the LBRY blockchain. diff --git a/documents/partials/overview/reflector.md b/documents/partials/overview/reflector.md new file mode 100644 index 0000000..6e019d6 --- /dev/null +++ b/documents/partials/overview/reflector.md @@ -0,0 +1 @@ +Reflectors are a special class of hosting servers that facilitate end-user publishing. A reflector server (or server cluster) can accept LBRY content for hosting en masse as well as earn blockchain tokens for data fees. diff --git a/documents/partials/overview/wallet-server.md b/documents/partials/overview/wallet-server.md new file mode 100644 index 0000000..b597193 --- /dev/null +++ b/documents/partials/overview/wallet-server.md @@ -0,0 +1,3 @@ +A wallet server facilitates blockchain interactions for an [[SPV]] wallet client, which is what most applications use. + +Without wallet servers, clients would have to download the full blockchain. From c38d73e0709bf695f2176e1a8575b11c56fdf046 Mon Sep 17 00:00:00 2001 From: Jeremy Kauffman Date: Fri, 25 Jan 2019 11:16:46 -0500 Subject: [PATCH 2/2] direct markdown import --- app/components/ecosystem/module-applications.js | 4 +--- app/components/ecosystem/module-lbry.js | 4 +--- app/components/ecosystem/module-lbrycrd.js | 4 +--- app/components/ecosystem/submodule-chainquery.js | 4 +--- app/components/ecosystem/submodule-lighthouse.js | 6 ++---- app/components/ecosystem/submodule-reflector.js | 4 +--- app/components/ecosystem/submodule-wallet.js | 4 +--- 7 files changed, 8 insertions(+), 22 deletions(-) diff --git a/app/components/ecosystem/module-applications.js b/app/components/ecosystem/module-applications.js index 1f559a2..33c97e3 100644 --- a/app/components/ecosystem/module-applications.js +++ b/app/components/ecosystem/module-applications.js @@ -1,8 +1,6 @@ "use strict"; -import { require as local } from "app-root-path"; - -const markdown = local("/app/components/markdown").default; +import markdown from "../markdown"; export default () => `
          diff --git a/app/components/ecosystem/module-lbry.js b/app/components/ecosystem/module-lbry.js index 8ee3585..bbe3ef5 100644 --- a/app/components/ecosystem/module-lbry.js +++ b/app/components/ecosystem/module-lbry.js @@ -1,8 +1,6 @@ "use strict"; -import { require as local } from "app-root-path"; - -const markdown = local("/app/components/markdown").default; +import markdown from "../markdown"; export default () => `
          diff --git a/app/components/ecosystem/module-lbrycrd.js b/app/components/ecosystem/module-lbrycrd.js index 2f6b0a1..37fc6b6 100644 --- a/app/components/ecosystem/module-lbrycrd.js +++ b/app/components/ecosystem/module-lbrycrd.js @@ -1,8 +1,6 @@ "use strict"; -import { require as local } from "app-root-path"; - -const markdown = local("/app/components/markdown").default; +import markdown from "../markdown"; export default () => `
          diff --git a/app/components/ecosystem/submodule-chainquery.js b/app/components/ecosystem/submodule-chainquery.js index 769310c..642a041 100644 --- a/app/components/ecosystem/submodule-chainquery.js +++ b/app/components/ecosystem/submodule-chainquery.js @@ -1,8 +1,6 @@ "use strict"; -import { require as local } from "app-root-path"; - -const markdown = local("/app/components/markdown").default; +import markdown from "../markdown"; export default () => `
          diff --git a/app/components/ecosystem/submodule-lighthouse.js b/app/components/ecosystem/submodule-lighthouse.js index 4e1e863..89a49a6 100644 --- a/app/components/ecosystem/submodule-lighthouse.js +++ b/app/components/ecosystem/submodule-lighthouse.js @@ -1,8 +1,6 @@ "use strict"; -import { require as local } from "app-root-path"; - -const markdown = local("/app/components/markdown").default; +import markdown from "../markdown"; export default () => `
          @@ -10,7 +8,7 @@ export default () => `
          - ${markdown("./documents/partials/overview/lighthouse.md")} + ${markdown("./documents/partials/overview/lighthouse.md")}a
            diff --git a/app/components/ecosystem/submodule-reflector.js b/app/components/ecosystem/submodule-reflector.js index 844422d..7ed2c55 100644 --- a/app/components/ecosystem/submodule-reflector.js +++ b/app/components/ecosystem/submodule-reflector.js @@ -1,8 +1,6 @@ "use strict"; -import { require as local } from "app-root-path"; - -const markdown = local("/app/components/markdown").default; +import markdown from "../markdown"; export default () => `
            diff --git a/app/components/ecosystem/submodule-wallet.js b/app/components/ecosystem/submodule-wallet.js index c50851d..469783c 100644 --- a/app/components/ecosystem/submodule-wallet.js +++ b/app/components/ecosystem/submodule-wallet.js @@ -1,8 +1,6 @@ "use strict"; -import { require as local } from "app-root-path"; - -const markdown = local("/app/components/markdown").default; +import markdown from "../markdown"; export default () => `