Skip to content

Commit

Permalink
update config, center images, add mermaid support
Browse files Browse the repository at this point in the history
  • Loading branch information
driemworks committed Oct 16, 2024
1 parent cb7179e commit 3b4badd
Show file tree
Hide file tree
Showing 4 changed files with 2,839 additions and 1,732 deletions.
4 changes: 4 additions & 0 deletions docs/murmur/docs/learn/protocol.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,9 @@ ct \xleftarrow{R} TLE(m, ID(\omega), sk) \\
m \xleftarrow{R} TLD(ct, f_\mathcal{C}(\omega, AUX))
$$

<div style={{ textAlign: 'center' }}>
![unnamed](https://hackmd.io/_uploads/H10vVNk6A.png)
</div>

When discussing timelock encryption, we will consider the CRC implemented as a blockchain's finality. As such, we will interchangeably use 'time' and 'block height' or 'block number'.

Expand Down Expand Up @@ -72,6 +74,7 @@ For a future block $b$, we define:

The protocol functions in sequential rounds of communication between prover and verifier, where the prover (end user) first computes a function which is then verified by the verifier (runtime). The runtime authorizes wallet (read: murmur proxy) creation anytime a unique name is provided, with no verification of the root, simply storing it in memory.

<div style={{ textAlign: 'center' }}>
```mermaid
sequenceDiagram
participant Prover
Expand All @@ -85,6 +88,7 @@ sequenceDiagram
Prover->>Verifier: Gossip
Verifier->>Verifier: VerifyExecute
```
</div>

### Protocol Details

Expand Down
21 changes: 10 additions & 11 deletions docs/murmur/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ const config = {
// Remove this to remove the "edit this page" links.
editUrl:
'https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/',
remarkPlugins: [math, { strict: false }],
remarkPlugins: [math],
rehypePlugins: [katex],
},
blog: {
Expand All @@ -75,19 +75,18 @@ const config = {

stylesheets: [
{
href: 'https://cdn.jsdelivr.net/npm/katex@0.16.11/dist/katex.min.css',
href: '/katex/katex.min.css',
type: 'text/css',
// integrity:
// 'sha384-odtC+0UGzzFL/6PNoE8rX/SPcQDXBJ+uRepguP4QkPCm2LBxH3FA3y+fKSiJ+AmM',
integrity:
'sha384-AfEj0r4/OFrOo5t7NnNe46zW/tFgW6x/bCJG8FqQCEo3+Aro6EYUG4+cU+KJWu/X',
crossorigin: 'anonymous',
},
],
// stylesheets: [
// {
// href: './static/katex/katex.min.css',
// type: 'text/css',
// },
// ],

markdown: {
mermaid: true,
},
themes: ['@docusaurus/theme-mermaid'],

themeConfig:
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */
Expand All @@ -103,7 +102,7 @@ const config = {
items: [
{
type: 'docSidebar',
sidebarId: 'customSidebar',
sidebarId: 'docsSidebar',
position: 'left',
label: 'Docs',
},
Expand Down
Loading

0 comments on commit 3b4badd

Please sign in to comment.