mirror of
https://github.com/Expand-sys/CCash
synced 2025-12-17 00:22:14 +11:00
🐛 forgot header <shared_mutex>
This commit is contained in:
parent
5ffdc9413f
commit
950a74dff1
2 changed files with 28 additions and 17 deletions
44
README.md
44
README.md
|
|
@ -1,7 +1,9 @@
|
|||
# CCash-2.0
|
||||
|
||||
A complete simplification and improvement to the CCash project. A webserver hosting a bank system for Minecraft, able to be used from web browser or from CC/OC if you're playing modded.
|
||||
|
||||
#### Build
|
||||
|
||||
```
|
||||
git clone --recurse-submodule https://github.com/EntireTwix/CCash-2.0/
|
||||
mkdir build
|
||||
|
|
@ -12,26 +14,34 @@ sudo ./bank <admin password> <saving frequency in minutes> <run in background (1
|
|||
```
|
||||
|
||||
#### Dependencies
|
||||
* [Parallel HashMap](https://github.com/greg7mdp/parallel-hashmap/tree/master)
|
||||
* [drogon web framework (and all its dependencies)](https://github.com/an-tao/drogon/tree/master)
|
||||
|
||||
- [Parallel HashMap](https://github.com/greg7mdp/parallel-hashmap/tree/master)
|
||||
- [drogon web framework (and all its dependencies)](https://github.com/an-tao/drogon/tree/master)
|
||||
|
||||
# Features
|
||||
|
||||
### Performance
|
||||
* multi-threaded
|
||||
* parallel hashmaps, a far superior HashMap implementation to the STD, that also benefit from multi-threaded
|
||||
* written in C++, **arguably** the fastest language
|
||||
* **NOT** written in Lua
|
||||
|
||||
- multi-threaded
|
||||
- parallel hashmaps, a far superior HashMap implementation to the STD, that also benefit from multi-threaded
|
||||
- written in C++, **arguably** the fastest language
|
||||
- **NOT** written in Lua
|
||||
|
||||
### Safety
|
||||
* OpenSSL (HTTPS)
|
||||
* Very difficult to tamper with compared to an in-game implementation of a bank
|
||||
* Auto-Saving, Save on close, are in place
|
||||
### Accessibility
|
||||
* able to be used millions of blocks away, across dimensions, servers, vanilla or modded, or outside of the game entirely
|
||||
|
||||
- OpenSSL (HTTPS)
|
||||
- Very difficult to tamper with compared to an in-game implementation of a bank
|
||||
- Auto-Saving, Save on close, are in place
|
||||
|
||||
### Accessibility
|
||||
|
||||
- able to be used millions of blocks away, across dimensions, servers, vanilla or modded, or outside of the game entirely
|
||||
|
||||
# Improvements from 1.0
|
||||
* frequency/on-close saving in contrast to every change resulting in a Save() call
|
||||
* multi-threaded
|
||||
* near infinite number of users rather then 2^16
|
||||
* no account vs user distinction, it was complicating usage without much gain
|
||||
* OpenSSL
|
||||
* a web based frontend
|
||||
|
||||
- frequency/on-close saving in contrast to every change resulting in a Save() call
|
||||
- multi-threaded
|
||||
- near infinite number of users rather then 2^16
|
||||
- no account vs user distinction, it was complicating usage without much gain
|
||||
- OpenSSL
|
||||
- a web based frontend
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
#pragma once
|
||||
#include <fstream>
|
||||
#include <shared_mutex>
|
||||
#include "parallel-hashmap/parallel_hashmap/phmap.h"
|
||||
#include "user.hpp"
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue