-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #153 from hashcloak/fix-142
Close db connection when shutdown
- Loading branch information
Showing
43 changed files
with
539 additions
and
380 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
FROM golang:alpine AS builder | ||
|
||
LABEL authors="Christian Muehlhaeuser: [email protected]" | ||
LABEL authors="Christian Muehlhaeuser: [email protected];" | ||
|
||
# Can pass --build-arg warped=true to decrease epoch period | ||
ARG warped=false | ||
|
@@ -11,9 +11,10 @@ RUN apk update && \ | |
apk add --no-cache git make ca-certificates && \ | ||
update-ca-certificates | ||
|
||
WORKDIR /go | ||
WORKDIR /go/Meson | ||
|
||
COPY . . | ||
|
||
RUN cd /go ; git clone https://github.com/hashcloak/Meson.git | ||
RUN cd /go/Meson/server && go build -o meson-server -ldflags "$ldflags" cmd/meson-server/*.go | ||
RUN cd /go ; git clone https://github.com/katzenpost/memspool.git | ||
RUN cd /go ; cd memspool/server/cmd/memspool ; go build -ldflags "$ldflags" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
.PHONY: build-docker-katzenmint | ||
build-docker-katzenmint: | ||
docker build --no-cache -t katzenmint/pki -f Dockerfile.katzenmint . | ||
|
||
.PHONY: build-docker-server | ||
build-docker-server: | ||
docker build --no-cache -t meson/server -f Dockerfile.server . | ||
|
||
.PHONY: build-docker-containers | ||
build-docker-containers: build-docker-katzenmint build-docker-server | ||
|
||
.PHONY: clean-docker-images | ||
clean-docker-images: | ||
docker rmi -f $$(docker images | grep '^<none>' | awk '{print $$3}') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,25 @@ | ||
# Meson | ||
[![Build Status](https://travis-ci.com/hashcloak/Meson.svg?branch=master)](https://travis-ci.com/hashcloak/Meson) | ||
[![Integration](https://github.com/hashcloak/Meson/actions/workflows/integration.yml/badge.svg)](https://github.com/hashcloak/Meson/actions/workflows/integration.yml) | ||
[![Plugin](https://github.com/hashcloak/Meson/actions/workflows/plugin.yml/badge.svg)](https://github.com/hashcloak/Meson/actions/workflows/plugin.yml) | ||
[![Katzenmint](https://github.com/hashcloak/Meson/actions/workflows/katzenmint.yml/badge.svg)](https://github.com/hashcloak/Meson/actions/workflows/katzenmint.yml) | ||
[![Server](https://github.com/hashcloak/Meson/actions/workflows/server.yml/badge.svg)](https://github.com/hashcloak/Meson/actions/workflows/server.yml) | ||
[![Client](https://github.com/hashcloak/Meson/actions/workflows/client.yml/badge.svg)](https://github.com/hashcloak/Meson/actions/workflows/client.yml) | ||
[![pages-build-deployment](https://github.com/hashcloak/Meson/actions/workflows/pages/pages-build-deployment/badge.svg)](https://github.com/hashcloak/Meson/actions/workflows/pages/pages-build-deployment) | ||
|
||
This is the main repository related to the Meson project. | ||
Meson is a mixnet for cryptocurrency transactions. Meson is based on the [Katzenpost software project](https://katzenpost.mixnetworks.org/). | ||
|
||
We have forked important parts of the Katzenpost mix network project in order to better compliment our upcoming changes and our cryptocurrency transaction usecase. Here are the places in which you can expect activity related to Meson's ongoing development: | ||
- [Katzenmint](https://github.com/hashcloak/katzenmint-pki): An in-progress new PKI design for mix networks | ||
- [Meson-server](https://github.com/hashcloak/Meson-server): Forked from the original Katzenpost server in which we make changes better suited for our Katzenmint PKI design and upcoming changes to how nodes (providers and mixes) will work in Meson. | ||
- [Meson-client](https://github.com/hashcloak/Meson-client): Forked from the original Katzenpost client in which we make changes better suited for our Katzenmint PKI design and upcoming changes to how clients will work in Meson. | ||
- [Katzenmint](https://github.com/hashcloak/Meson/tree/master/katzenmint): An in-progress new PKI design for mix networks | ||
- [Meson-server](https://github.com/hashcloak/Meson/tree/master/server): Forked from the original Katzenpost server in which we make changes better suited for our Katzenmint PKI design and upcoming changes to how nodes (providers and mixes) will work in Meson. | ||
- [Meson-client](https://github.com/hashcloak/Meson/tree/master/client) : Forked from the original Katzenpost client in which we make changes better suited for our Katzenmint PKI design and upcoming changes to how clients will work in Meson. | ||
|
||
|
||
## Docs | ||
TODO | ||
|
||
Plesase go to [docs.mesonmix.net](https://docs.mesonmix.net) | ||
|
||
## Usage | ||
|
||
TODO | ||
Plesase go to [docs.mesonmix.net/docs/](https://docs.mesonmix.net/docs/) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.