V40-V43: band umur vote (BARU/VALID/KADALUARSA, scan simpan semua umur) → REVOTE = VALID langsung (V42) → tag mint 1-hari + badge VOTE ULANG SEGERA (V43) ; klaim recovery jendela lewat + parse respons dict rows (B7/B8) ; backend mysql test_mariadb ; oracle test_dashboard/distribute/get_voters/mariadb ; images web/scan/dist/claim rebuild + push

This commit is contained in:
proitlab committed 2026-08-07 12:07:34 +07:00
1 parent af9a0291b9
commit 81ec6bdfe7
17 files changed
+914 -148

No files matched your search

+22 -1
View File
@@ -34,9 +34,30 @@ DASH_PORT=5000
# Dashboard: jumlah worker gunicorn (produksi)
DASH_WORKERS=2
# Ambang batas vote "basi" (hari sejak revote terakhir) untuk penanda staleness
# Ambang batas vote "basi" (hari sejak revote terakhir). Pemilih lewat batas
# ini disimpan scan tapi keluar band VALID (bagian KADALUARSA 28..31 hari,
# >31 hari disembunyikan dari dashboard).
VEX_STALE_DAYS=28
# Masa matang (hari): pemilih baru (revote < VEX_MATURITY_DAYS lalu) BELUM
# berhak reward — dibayar mulai siklus berikutnya setelah votenya berumur ≥
# ambang ini (band VALID).
VEX_MATURITY_DAYS=3
# Jendela "kadaluarsa" (hari SETELAH VEX_STALE_DAYS) yang masih tampil di
# dashboard dengan sorot VOTE ULANG; lewat 28+3=31 hari → disembunyikan.
VEX_EXPIRED_DAYS=3
# Tag REVOTE (mint) bertahan (hari) sejak revote terakhir: hanya pemilih lama
# yang revote dalam VEX_REVOTE_TAG_DAYS terakhir diberi tag; setelah itu tampil
# sbg VALID biasa (tetap dibayar langsung — V42, ⊥ tunggu matang).
VEX_REVOTE_TAG_DAYS=1
# Jendela peringatan (hari SEBELUM VEX_STALE_DAYS): pemilih VALID yang
# `now − STALE < last_vote ≤ now − (STALE − WARN)` diberi badge `VOTE ULANG
# SEGERA` (segera kadaluarsa, masih dibayar).
VEX_WARN_DAYS=3
# API databisnis untuk saldo liquid akun (balance BP, disajikan dashboard)
DATABISNIS_API=https://api.databisnis.id