Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
0f2c660
Impelment basic transaction function interface + nockma example instance
AHartNtkn Dec 17, 2024
206e684
Streamline evalOp
AHartNtkn Dec 17, 2024
343a5f6
Implement pound ops
AHartNtkn Dec 17, 2024
83cfb05
(m) naming
AHartNtkn Dec 17, 2024
3641a17
Use built-in result monad
AHartNtkn Dec 17, 2024
f7f281b
fix pund and slash consumption
AHartNtkn Dec 17, 2024
c075d3b
fix if eval
AHartNtkn Dec 17, 2024
4ee92fb
Fix gas handling
AHartNtkn Dec 17, 2024
e06bcfe
(m) comments
AHartNtkn Dec 17, 2024
b05824e
(m) simplify
AHartNtkn Dec 17, 2024
2047c4f
(m) reorganization
AHartNtkn Dec 17, 2024
3536015
Fix issues detected by pre-commit
Dec 18, 2024
6f5b506
fix
heindel Dec 19, 2024
a06d1cf
Update transactionfunction.juvix.md
heindel Dec 19, 2024
eb7fadb
(m)
AHartNtkn Dec 19, 2024
4c665d4
Add nockma and transactionfunction to everything.juvix.md
jonaprieto Dec 23, 2024
5c7e8d0
Merge branch 'main' into topic-transaction-function
jonaprieto Dec 23, 2024
eda3b29
Merge branch 'main' into topic-transaction-function
jonaprieto Jan 17, 2025
1d8d8a8
Fix issues detected by pre-commit
Jan 17, 2025
a055a85
Add data structures and interfaces used by RM (#306)
AHartNtkn Jan 17, 2025
fda171f
Add most of the types for RM specs (#305)
jonaprieto Jan 17, 2025
dea682a
Merge branch 'main' into topic-transaction-function
jonaprieto Jan 28, 2025
357eff2
Merge branch 'main' into topic-transaction-function
jonaprieto Jan 28, 2025
425c7fa
Squashed commit of the following:
jonaprieto Feb 19, 2025
1e7ca49
Squashed commit of the following:
jonaprieto Feb 19, 2025
418e6f8
Merge branch 'main' into topic-transaction-function
jonaprieto Feb 19, 2025
2a284dc
make a first sketch of what we need for proving systems in juvix and …
heindel Feb 19, 2025
d5ff1c8
Topic delta proving system (add juvix code) (#301)
heindel Feb 19, 2025
b5b314d
Merge branch 'main' into topic-transaction-function
jonaprieto Feb 20, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion docs/arch/node/concepts/subsystem.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@ tags:
specific goal. The purpose of a subsystem is to provide a high-level interface
for the components that make up the node.

## Examples
## Subsystems

- [[Hardware subsystem overview|Hardware subsystem]]
- [[Identity subsystem overview|Identity subsystem]]
- [[Ordering subsystem overview|Ordering subsystem]]
- [[Network subsystem overview|Network subsystem]]
2 changes: 1 addition & 1 deletion docs/arch/node/engines/mempool_worker_behaviour.juvix.md
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,7 @@ transactionRequestAction
mailbox := some 0;
msg := Anoma.MsgMempoolWorker (MempoolWorkerMsgTransactionAck
(mkTransactionAck@{
tx_hash := hash fingerprint candidate;
tx_hash := TChash fingerprint candidate;
batch_number := MempoolWorkerLocalState.batch_number local;
batch_start := 0;
worker_id := worker_id;
Expand Down
81 changes: 68 additions & 13 deletions docs/arch/node/types/crypto.juvix.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ tags:
- types
- crypto
- prelude
- node-architecture
- types
- crypto
- prelude
---

??? code "Juvix imports"
Expand All @@ -27,14 +31,25 @@ Public key for public-key cryptography.
type PublicKey :=
| Curve25519PubKey ByteString
;

instance
PublicKeyOrd : Ord PublicKey :=
mkOrd@{
cmp := \{_ _ := Equal};
};
```

??? quote "Auxiliary Juvix code"

```juvix
deriving
instance
PublicKeyEq : Eq PublicKey;
```

```juvix
instance
PublicKeyOrd : Ord PublicKey :=
mkOrd@{
cmp := \{_ _ := Equal};
};
```

### `PrivateKey`
### `PrivateKey`

Private key for public-key cryptography.
Expand All @@ -43,14 +58,22 @@ Private key for public-key cryptography.
type PrivateKey :=
| Curve25519PrivKey ByteString
;

instance
PrivateKeyOrd : Ord PrivateKey :=
mkOrd@{
cmp := \{_ _ := Equal};
};
```

??? quote "Auxiliary Juvix code"

```juvix
deriving
instance
PrivateKeyEq : Eq PrivateKey;

instance
PrivateKeyOrd : Ord PrivateKey :=
mkOrd@{
cmp := \{_ _ := Equal};
};
```

### `SecretKey`

Secret key for secret-key cryptography.
Expand All @@ -61,7 +84,19 @@ type SecretKey :=
;
```

### `Signature`
??? quote "Auxiliary Juvix code"

```juvix
deriving
instance
SecretKeyEq : Eq SecretKey;

deriving
instance
SecretKeyOrd : Ord SecretKey;
```

### ``Signature``

Cryptographic signature.

Expand All @@ -80,3 +115,23 @@ type Digest :=
| Blake3Digest ByteString
;
```

### `hash`

```juvix
axiom hash {A} : A -> Digest;
```

??? quote "Auxiliary Juvix code"

```juvix
deriving
instance
DigestEq : Eq Digest;

instance
DigestOrd : Ord Digest :=
mkOrd@{
cmp := \{(Blake3Digest a) (Blake3Digest b) := Equal};
};
```

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading
Loading