Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
57 commits
Select commit Hold shift + click to select a range
1b47e39
Merge pull request #499 from kinode-dao/release-candidate
nick1udwig Aug 22, 2024
7308c19
bump version to 0.9.2
nick1udwig Aug 23, 2024
a843278
register: properly apply punycode conversion to submitted name
nick1udwig Aug 24, 2024
a1a69f0
use docker buildkit
0xlynett Aug 24, 2024
09d537e
fakenet: reduce to 1 tx, wait for receipt
barraguda Aug 26, 2024
be6b932
kns_indexer: optimistically handle notes
barraguda Aug 26, 2024
6ce5f25
app_store: fix fakenet
barraguda Aug 26, 2024
8e71caa
app_store UI: fix launch button on apppage
barraguda Aug 26, 2024
ae92859
kns registration: disallow capital letters
dr-frmr Aug 26, 2024
a16059d
Merge pull request #504 from kinode-dao/hf/convert-punycode-properly-…
nick1udwig Aug 26, 2024
9ece3e8
kns_indexer: typo
barraguda Aug 26, 2024
4f313af
fakenet: test not waiting for receipt upon registration
barraguda Aug 26, 2024
83ea1be
kns_indexer: handle initial pending notes after boot
barraguda Aug 26, 2024
63ea699
add support for multiarch builds
0xlynett Aug 26, 2024
b74b906
Merge branch 'main' into main
0xlynett Aug 26, 2024
ca4c748
Merge pull request #506 from kinode-dao/dr/disallow-capitals-in-register
dr-frmr Aug 26, 2024
10cad4c
zip without timestamps
nick1udwig Aug 26, 2024
64af890
change build time to project kickoff day
nick1udwig Aug 27, 2024
3d15d78
Merge pull request #510 from kinode-dao/hf/reproducible-builds
dolled-possum Aug 27, 2024
cd1d4ca
Merge pull request #508 from 0xlynett/main
dr-frmr Aug 27, 2024
80b12e8
feat: let user reset any node name, not just `.os`
dr-frmr Aug 27, 2024
bd466e8
fix: attempt to simplify validity-checks
dr-frmr Aug 27, 2024
b9fadf7
Merge branch 'develop' into bp/fakenet-fix
barraguda Aug 27, 2024
fd04762
fakenet: wait for receipt before booting
barraguda Aug 27, 2024
f963c37
app_store UI: dropdown choose package and publisher
barraguda Aug 26, 2024
7b1312b
app_store UI: simplified downloads page
barraguda Aug 27, 2024
9110494
app_store UI: check package_name validity in publish, compare onchain…
barraguda Aug 27, 2024
3b5905f
ft_worker: grant caps to timer
barraguda Aug 27, 2024
90e9e30
download:app_store:sys: grant process cap to script
barraguda Aug 27, 2024
2742999
downloads:app_store: grant cap to terminal
barraguda Aug 27, 2024
7e6e26b
app_store UI: add ability to recheck mirrors dropdown
barraguda Aug 27, 2024
8c9c6eb
app_store: printfixes
barraguda Aug 27, 2024
d75c67c
fakenet: add an extra template tx (hacky) after registering
barraguda Aug 27, 2024
e5881f4
Merge pull request #513 from kinode-dao/bp/downloadpageupdate
barraguda Aug 27, 2024
365295d
kns: fix peering on boot
nick1udwig Aug 28, 2024
5c84a80
Merge pull request #514 from kinode-dao/hf/fix-peering-on-boot
nick1udwig Aug 28, 2024
a4a643a
Merge pull request #505 from kinode-dao/bp/fakenet-fix
barraguda Aug 28, 2024
57332a4
kns_indexer: remove extra boot pending handling
barraguda Aug 28, 2024
9bd5456
kns_indexer: change pending note print to verbosity1
barraguda Aug 28, 2024
f551c13
kernel: increase event loop queue size & error if full
nick1udwig Aug 29, 2024
c7bce99
app_store: use fixed vfs::open_dir
nick1udwig Aug 29, 2024
24ee437
app_store: fix ft_worker as well
nick1udwig Aug 29, 2024
601803b
Merge pull request #511 from kinode-dao/dr/reset-node-tlz-agnostic
dr-frmr Aug 29, 2024
37824cf
add error message in case of eth sender
nick1udwig Aug 29, 2024
b7dd971
app_store: use new fixed vfs processlib
barraguda Aug 29, 2024
eb7138e
Format Rust code using rustfmt
github-actions[bot] Aug 29, 2024
a8b4e85
Merge pull request #517 from kinode-dao/hf/fix-app_store-vfs-open-dir
barraguda Aug 29, 2024
2b0cbb7
app_store: un/install prints
barraguda Aug 29, 2024
800455a
app_store UI: fix progress bar with several versions, fix false insta…
barraguda Aug 29, 2024
13d56df
eth: fix remote provider
nick1udwig Aug 30, 2024
dc267a4
Format Rust code using rustfmt
github-actions[bot] Aug 30, 2024
0972b09
make cache entries go stale
nick1udwig Aug 30, 2024
953f1ff
fix conditional expression
nick1udwig Aug 30, 2024
2769105
Merge pull request #518 from kinode-dao/bp/tempdirappstore
barraguda Aug 30, 2024
e6d8c01
Merge pull request #516 from kinode-dao/hf/increase-event-loop-queue-…
nick1udwig Aug 30, 2024
0a94f7a
remove prints
nick1udwig Aug 30, 2024
e1923d9
Merge pull request #519 from kinode-dao/hf/fix-eth-provider
nick1udwig Aug 30, 2024
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
67 changes: 34 additions & 33 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 12 additions & 8 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,23 +1,27 @@
FROM debian:12-slim AS downloader
FROM --platform=$BUILDPLATFORM alpine AS downloader_start
ARG VERSION

ARG TARGETARCH
WORKDIR /tmp/download
RUN apk update && apk add unzip wget --no-cache

RUN apt-get update
RUN apt-get install unzip -y

FROM downloader_start AS downloader_amd64
ADD "https://github.com/kinode-dao/kinode/releases/download/${VERSION}/kinode-x86_64-unknown-linux-gnu.zip" kinode-x86_64-unknown-linux-gnu.zip
RUN unzip kinode-x86_64-unknown-linux-gnu.zip

FROM downloader_start AS downloader_arm64
ADD "https://github.com/kinode-dao/kinode/releases/download/${VERSION}/kinode-aarch64-unknown-linux-gnu.zip" kinode-aarch64-unknown-linux-gnu.zip
RUN unzip kinode-aarch64-unknown-linux-gnu.zip

FROM downloader_${TARGETARCH} AS downloader

FROM debian:12-slim

RUN apt-get update
RUN apt-get install openssl -y
RUN apt-get update && apt-get install openssl -y

COPY --from=downloader /tmp/download/kinode /bin/kinode

ENTRYPOINT [ "/bin/kinode" ]
CMD [ "/kinode-home" ]

EXPOSE 8080
EXPOSE 9000
EXPOSE 9000
15 changes: 11 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@

</p>


Kinode is a general-purpose sovereign cloud computer, built for crypto.

This repo contains the core runtime and processes.
Expand All @@ -17,10 +16,10 @@ Then follow the instructions to [install it](https://book.kinode.org/install.htm

If you have questions, join the [Kinode discord](https://discord.gg/TCgdca5Bjt) and drop us a line in `#dev-support`.


## Setup

On certain operating systems, you may need to install these dependencies if they are not already present:

- openssl-sys: https://docs.rs/crate/openssl-sys/0.9.19
- libclang 5.0: https://rust-lang.github.io/rust-bindgen/requirements.html

Expand Down Expand Up @@ -58,6 +57,7 @@ No security audits of this crate have ever been performed. This software is unde
Make sure not to use the same home directory for two nodes at once! You can use any name for the home directory: here we just use `home`. The `--` here separates cargo arguments from binary arguments.

TODO: document feature flags in `--simulation-mode`

```bash
# OPTIONAL: --release flag
cargo +nightly run -p kinode -- home
Expand All @@ -70,6 +70,7 @@ On boot you will be prompted to navigate to `localhost:8080` (or whatever HTTP p
By default, a node will use the [hardcoded providers](./kinode/src/eth/default_providers_mainnet.json) for the network it is booted on. A node can use a WebSockets RPC URL directly, or use another Kinode as a relay point. To adjust the providers a node uses, just create and modify the `.eth_providers` file in the node's home folder (set at boot). See the Kinode Book for more docs, and see the [default providers file here](./kinode/src/eth/default_providers_mainnet.json) for a template to create `.eth_providers`.

You may also add a RPC provider or otherwise modify your configuration by sending messages from the terminal to the `eth:distro:sys` process. You can get one for free at `alchemy.com`. Use this message format to add a provider -- this will make your node's performance better when accessing a blockchain:

```
m our@eth:distro:sys '{"AddProvider": {"chain_id": <SOME_CHAIN_ID>, "trusted": true, "provider": {"RpcUrl": "<WS_RPC_URL>"}}}'
```
Expand Down Expand Up @@ -169,9 +170,15 @@ The image includes EXPOSE directives for TCP port `8080` and TCP port `9000`. Po
If you are running a direct node, you must map port `9000` to the same port on the host and on your router. Otherwise, your Kinode will not be able to connect to the rest of the network as connection info is written to the chain, and this information is based on the view from inside the Docker container.

To build a local Docker image, run the following command in this project root.

```bash
# The `VERSION` may be replaced with the tag of a GitHub release
docker build -t 0xlynett/kinode . --build-arg VERSION=v0.8.6

# Build for your system's architecture
docker build . -t 0xlynett/kinode --build-arg VERSION=v0.9.1

# Build a multiarch image
docker buildx build . --platform arm64,amd64 --build-arg VERSION=v0.9.1 -t 0xlynett/kinode
```

For example:
Expand All @@ -182,4 +189,4 @@ docker volume create kinode-volume
docker run -d -p 8080:8080 -it --name my-kinode \
--mount type=volume,source=kinode-volume,destination=/kinode-home \
0xlynett/kinode
```
```
Loading