Archived
1
0
Fork 0
Commit graph

25 commits

Author SHA1 Message Date
e6c8411615
chore: End of life
Signed-off-by: Julien Riou <julien@riou.xyz>
2023-09-24 08:19:44 +02:00
46395768f7
chore: Bump version to 1.7
Signed-off-by: Julien Riou <julien@riou.xyz>
2022-04-08 13:52:49 +02:00
2f0f4a9fde
fix(blocks): Improve paged response
Signed-off-by: Julien Riou <julien@riou.xyz>
2022-04-08 13:51:18 +02:00
d01fefbfbf
fix(payments): Improve paged response (#8)
Signed-off-by: Julien Riou <julien@riou.xyz>
2022-04-08 13:51:14 +02:00
6445f3f292
chore: Fix typo in example file
Telegram channel name needs an @ and it needs to be escaped in YAML.

Signed-off-by: Julien Riou <julien@riou.xyz>
2022-02-28 14:01:59 +01:00
b923db5b3c
chore: Bump version to 1.6
Signed-off-by: Julien Riou <julien@riou.xyz>
2022-02-27 20:31:44 +01:00
e511eb89ef
doc: Improve Telegram documentation (#7)
Signed-off-by: Julien Riou <julien@riou.xyz>
2022-02-27 20:30:24 +01:00
d2d1503779
feat: ETC support and notifications tests
- Add ETC to the list of supported coins. A new `coin` setting can be
  configured to avoid conflict with `eth`. Mind the lowercase. By default,
  flexassitant will try to deduce the coin from the miner's address (with eth by
  default, not etc). (#5)

- Add `test` (true/false) to `notifications` section to test notifications with
  random values fetched from the Flexpool API

- Fix typo in the configuration example (#6)

BREAKING CHANGE: `notification-templates` configuration settings have been
renamed to `notifications`, with sections to configure balance, payment, block
and offline workers notifications, with `template` and `test` settings.

Signed-off-by: Julien Riou <julien@riou.xyz>
2022-02-27 20:26:36 +01:00
b519770922
feat: Minimum block rewards to send notifications
Flexpool is now finding more blocks than ever. There are tons of notifications
all day long. This commit adds a new pool setting `min-block-reward` to send
notifications for blocks reaching this minimum threshold, so we can focus on
big blocks.

Signed-off-by: Julien Riou <julien@riou.xyz>
2022-02-25 15:05:52 +01:00
e3ae989511
chore: Bump to version 1.4
Signed-off-by: Julien Riou <julien@riou.xyz>
2021-11-05 08:21:15 +01:00
38d1dfb2d4
fix: Use template files on disk (#4)
Signed-off-by: Julien Riou <julien@riou.xyz>
2021-11-05 08:16:36 +01:00
fed6459f9d
refacto: Remove overengineered convertAction func
Because it can be simply replaced by a condition.

Signed-off-by: Julien Riou <julien@riou.xyz>
2021-11-05 07:57:51 +01:00
5f67ba2279
feat: Chia blocks need more precision
Block rewards of Chia blockchain were fixed to 1.75 XCH. Now, they
include a variable transaction fee. This commit sets the precision to 6
digits after the floating point, like Ethereum block rewards.

Signed-off-by: Julien Riou <julien@riou.xyz>
2021-11-04 18:47:59 +01:00
eccb06383b
chore: Bump to 1.3
Signed-off-by: Julien Riou <julien@riou.xyz>
2021-10-15 18:23:27 +02:00
3d4c049323
fix: Convert big integers to float64
Large numbers can be returned by the Flexpool API reaching the `int64`
limit. Blocks reward were seen as 0 ETH. Using `float64` instead. Also
converting signed int64 to unsigned int64 for non-timestamp numbers.

BREAKING CHANGE: please follow the upgrades instructions from 1.2 to
1.3 to convert such types in the database.

Signed-off-by: Julien Riou <julien@riou.xyz>
2021-10-15 18:22:48 +02:00
ac0903cf9d
style: Set max line to 120 chars in the README
Signed-off-by: Julien Riou <julien@riou.xyz>
2021-10-13 15:25:50 +02:00
e58fec37bb
doc: Update Releases link in the README
Signed-off-by: Julien Riou <julien@riou.xyz>
2021-10-13 15:24:08 +02:00
71f7118166
chore: bump to release 1.2
Signed-off-by: Julien Riou <julien@riou.xyz>
2021-10-13 15:14:02 +02:00
632da28954
feat: Add notification templates (#2)
Signed-off-by: Julien Riou <julien@riou.xyz>
2021-10-13 15:09:59 +02:00
b9902f0623
Release 1.1
- refactor: Use struct to parse API responses
- feat: Add offline/online workers notifications (#1)

Signed-off-by: Julien Riou <julien@riou.xyz>
2021-10-11 08:55:23 +02:00
ebbd4ac2cd
refactor: Use struct to parse API responses
- Return bytes for each request to the Flexpool API
- Delegate JSON marshalling the higher functions
- Use int64 when possible

BREAKING CHANGE: database structure has to be updated to use integer
instead of real. Please follow instructions to upgrade from 1.0 to 1.1.

Signed-off-by: Julien Riou <julien@riou.xyz>
2021-10-11 08:54:37 +02:00
c4f3854861
feat: Add offline/online workers notifications (#1)
Signed-off-by: Julien Riou <julien@riou.xyz>
2021-10-10 20:56:50 +02:00
47eed6fbee
docs: Update Makefile and README for release
Signed-off-by: Julien Riou <julien@riou.xyz>
2021-10-06 19:12:49 +02:00
f51679193a
feat: Initial release (1.0)
Signed-off-by: Julien Riou <julien@riou.xyz>
2021-10-06 19:07:41 +02:00
c318df8bf3
Initial commit 2021-09-29 16:00:24 +02:00