Skip to content

Commit

Permalink
Merge pull request #320 from iotaledger/dev-refactor
Browse files Browse the repository at this point in the history
dev-refactor merge
  • Loading branch information
felsweg-iota authored Jun 1, 2022
2 parents 6e5dec1 + ec5179a commit 0e147d4
Show file tree
Hide file tree
Showing 217 changed files with 26,732 additions and 9,797 deletions.
9 changes: 0 additions & 9 deletions .changes/actix.md

This file was deleted.

8 changes: 0 additions & 8 deletions .changes/client-registry-usage.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changes/client_procedures_copy-record.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changes/clone-stronghold.md

This file was deleted.

15 changes: 7 additions & 8 deletions .changes/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,13 @@
"stronghold-utils"
]
},
"stronghold-rlu": {
"path": "./rlu/",
"manager": "rust",
"dependencies": [
"stronghold-engine"
]
},
"iota-stronghold": {
"path": "./client/",
"manager": "rust",
Expand All @@ -110,14 +117,6 @@
"stronghold-utils",
"stronghold-runtime"
]
},
"commandline": {
"path": "./products/commandline/",
"manager": "rust",
"publish": false,
"dependencies": [
"iota-stronghold"
]
}
}
}
8 changes: 0 additions & 8 deletions .changes/docs.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changes/error-types-client.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changes/fuzzer.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changes/key-cloning.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changes/p2p-events-channel.md

This file was deleted.

11 changes: 0 additions & 11 deletions .changes/p2p-feature-config.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changes/p2p-toggle-behaviour.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changes/patch-iota-crypto-v0.8.0.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changes/patch-libp2pv0.40.0-rc2.md

This file was deleted.

9 changes: 0 additions & 9 deletions .changes/persist-p2p-config.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changes/persist-p2p-keypair.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changes/proc-api.md

This file was deleted.

13 changes: 0 additions & 13 deletions .changes/refactor-error-types.md

This file was deleted.

32 changes: 32 additions & 0 deletions .changes/release-candidate.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
---
"iota-stronghold": minor
"stronghold-engine": minor
"stronghold-derive": minor
"stronghold-runtime": minor
"stronghold-p2p": minor
"stronghold-rlu": minor
---
- Refactor Sink and Stream implementation for EventChannel
- Add `CopyRecord` procedure.
- In the `StrongholdP2p` Interface enable / disable mdns and relay functionality on init via config flags in the `StrongholdP2pBuilder`. Per default, both are enabled.
- In the `Stronghold` client interface enable / disable mdns and relay in the `NetworkConfig` when spawning a new p2p-network actor. Per default, both are disabled.
- Use `libp2p::swarm::toggle` to enable/ disable relay and mdns
- Persist config and keypair of stronghold-p2p in client
- Implement messages to write the keypair used for `StrongholdP2p` in the vault and derive the `PeerId` and a new noise `AuthenticKeypair` from it.
- Implement API for the Stronghold Procedures
- Make stronghold interface clonable
- Update inline Docs and README files to reflect the current state of the project.
- Add communication fuzzer for distributed fuzzing with docker.
- Patch Stronghold engine fuzzer.
- Patch crypto.rs version v0.7 -> v0.8.
- Persist the state of stronghold-p2p in the `SecureClient` by serializing the `NetworkConfig` and writing it to the store.
- Allow loading stored states into the `NetworkActor` on init.
- Allow reuse of same `Keypair` that is stored in the vault.
- Software transactional memory framework as replacement for actix actor system
- Integration is runtime agnostic an can be used by any async runtime for rust, tkio is encouraged though
- Extract `random` functions from `test_utils` into own module.
- Remove Riker as dependency from utils.
- Introduce KeyProvider instead of repeatedly providing a passphrase.
- Introduce non-contiguous memory types for secure key handling.
- Abstract over locked and encrypted data types for use internally.
- Stronghold interface rewrite to work on type level with Stronghold as root type, Client as secure container, Store as insecure storage and ClientVault as vault access.
6 changes: 0 additions & 6 deletions .changes/utils-random.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changes/utils.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changes/write_to_vault.md

This file was deleted.

10 changes: 5 additions & 5 deletions .github/workflows/check-rustdoc-links.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,18 @@ on:
- main
- dev
paths:
- '.github/workflows/check-rustdoc-links.yml'
- '**.rs'
- '**.toml'
- ".github/workflows/check-rustdoc-links.yml"
- "**.rs"
- "**.toml"

jobs:
docs:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
project: [engine, engine/runtime, client, products/commandline, derive, utils, p2p]
env:
project: [engine, engine/runtime, client, derive, utils, p2p]
env:
RUSTDOCFLAGS: -D warnings

steps:
Expand Down
9 changes: 5 additions & 4 deletions .github/workflows/clippy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,19 @@ on:
branches:
- main
- dev
- dev-refactor
paths:
- '.github/workflows/clippy.yml'
- '**.rs'
- '**.toml'
- ".github/workflows/clippy.yml"
- "**.rs"
- "**.toml"

jobs:
clippy:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
project: [engine, engine/runtime, client, products/commandline, derive, utils, p2p]
project: [engine, engine/runtime, client, derive, utils, p2p]

steps:
- uses: actions/checkout@v2
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/covector-version-or-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ on:
push:
branches:
- dev
- dev-refactor

jobs:
version-or-publish:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
branches:
- dev
- dev-refactor
- main
paths:
- '**.rs'
Expand Down
9 changes: 5 additions & 4 deletions .github/workflows/format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,19 @@ on:
branches:
- main
- dev
- dev-refactor
paths:
- '.github/workflows/format.yml'
- '**.rs'
- '**.toml'
- ".github/workflows/format.yml"
- "**.rs"
- "**.toml"

jobs:
format:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
project: [engine, engine/runtime, client, products/commandline, derive, utils, p2p]
project: [engine, engine/runtime, client, derive, utils, p2p]

steps:
- uses: actions/checkout@v2
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/licenses.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,11 @@ on:
push:
branches:
- dev
- dev-refactor
pull_request:
branches:
- dev
- dev-refactor

jobs:
licenses:
Expand Down
Loading

0 comments on commit 0e147d4

Please sign in to comment.