quality-of-life improvements, lower client slave thread stack to 512KB (maybe still too much), dynamic fullverify - freeing transactions after verification

This commit is contained in:
2026-04-23 21:34:12 +02:00
parent 9c99eec3a8
commit a89a912898
8 changed files with 26 additions and 3 deletions

View File

@@ -10,6 +10,8 @@
// Nets
#define MAX_CONS 32 // Some baseline for now
#define LISTEN_PORT 9393
#define TCP_THREAD_STACK_SIZE (512 * 1024) // 512 KB. We could get away with like 128 KB since it's mostly just recv bufs, but it's good having some breathing room.
// This is also for client threads. The server has the default (~8 MB on POSIX).
// Economics
#define DECIMALS 1000000000000ULL

View File

@@ -4,6 +4,7 @@
#include <arpa/inet.h>
#include <stddef.h>
#include <constants.h>
#include <tcpd/tcpconnection.h>
typedef struct {

View File

@@ -4,6 +4,7 @@
#include <arpa/inet.h>
#include <pthread.h>
#include <stddef.h>
#include <constants.h>
#include <tcpd/tcpconnection.h>