Commit Graph

  • dd2621afde
    hot fix for the tasmota PoP issues (#403) v0.9.7 Jürgen Eckel 2024-05-28 14:54:31 +02:00
  • ea6d9274bf
    readded } Jürgen Eckel 2024-05-28 14:43:43 +02:00
  • 711e8589a3
    adjusted test case Jürgen Eckel 2024-05-28 14:41:05 +02:00
  • 794590341b
    hot fix for the tasmota PoP issues Jürgen Eckel 2024-05-28 14:00:51 +02:00
  • e99b614e4a
    added connection loss handler, extended logging, mqtt msg updates (#400) v0.9.6 Jürgen Eckel 2024-05-16 17:06:19 +02:00
  • 3664390b3f
    * added another Waiting block to the machine attestation methods (CI tests) * had to adjust the test cases to the impact of that change. Jürgen Eckel 2024-05-16 16:55:08 +02:00
  • 9aa0b63b4d
    * made monitor Mutex a RWMutex * added Mutex protection to the numberOfElements varialbe Jürgen Eckel 2024-05-16 16:53:19 +02:00
  • d403eebc9a
    added logging to the mqtt mock client Jürgen Eckel 2024-05-16 16:51:30 +02:00
  • 8f379980e9
    termintationMutex became a sync.RWMutex Jürgen Eckel 2024-05-16 15:28:03 +02:00
  • a92fc79cd2
    adjusted test case to comply with the increased amount of waiting blocks to satisfy test cases Jürgen Eckel 2024-05-16 14:55:33 +02:00
  • cafc59d178
    TestingLocker Mutex to RWMutex (increase performance) Jürgen Eckel 2024-05-16 14:52:22 +02:00
  • ac9b7a2a55
    added some other waiting blocks to satisfy the CI race conditions Jürgen Eckel 2024-05-16 14:34:01 +02:00
  • a40fe290ca
    added another waiting block to avoid ci test case failure Jürgen Eckel 2024-05-16 14:23:14 +02:00
  • 444a6c4f5a
    put some global objects into an objects to avoid inter service testing issues Jürgen Eckel 2024-05-16 14:14:16 +02:00
  • 94e3db7d8d
    don't set connection loss if termination is in progress (test cases) Jürgen Eckel 2024-05-16 13:46:38 +02:00
  • 95642a1c4d
    fixed client-id typo Jürgen Eckel 2024-05-16 13:06:22 +02:00
  • b09d568fa7
    added conenction loss handler and status check Jürgen Eckel 2024-05-16 12:48:43 +02:00
  • 281e3d16a5
    added isConnectionOpen to the interface and analysis this during execution Jürgen Eckel 2024-05-16 12:25:53 +02:00
  • 2223abc2d4
    * added a bit of logging * added update messages to mqtt (every second with a timestamp) Jürgen Eckel 2024-05-16 12:20:49 +02:00
  • 0c05081604
    unlock mutex before return (#399) v0.9.5 Jürgen Eckel 2024-05-15 17:05:26 +02:00
  • 6a3220b5fe
    added termination clause for the scheduler Jürgen Eckel 2024-05-15 16:56:24 +02:00
  • 3cd74ce683
    unlock mutex before return Jürgen Eckel 2024-05-15 16:28:39 +02:00
  • 1f2b1702ea
    Eckelj/mqtt monitoring fix (#398) v0.9.4 Jürgen Eckel 2024-05-15 13:23:06 +02:00
  • 8cf0fcb43e
    setMaxRetries again after a succesful reconnection. Jürgen Eckel 2024-05-15 11:38:24 +02:00
  • 83ce62fce2
    * removed obsolete SetContext function/interface * removed obsolete time conversion method Jürgen Eckel 2024-05-15 11:26:00 +02:00
  • 708ff18845
    removed obsolete log lines Jürgen Eckel 2024-05-15 11:20:46 +02:00
  • 1082d43cce
    fixed linter issues Jürgen Eckel 2024-05-15 11:19:17 +02:00
  • f68d0df98b
    * avoid using app.Logger to have a consistent log from the beginning * made lazyLoading local to the module * fixed ticker bug so that the tasks are executed in an endless loop * fixed timezone bug of Add Participant. only validator local time is used not the timestamp from the mqtt messages as these might come from a different time zone (resulted in delayed deletion from the activeActors DB) * improved connection management for the monitor * added a watchdog task to restart the monitor in case of connection loss (every 2 min) Jürgen Eckel 2024-05-15 11:12:59 +02:00
  • c3bbf76dde
    * set keepalive ping * made mutex more granular Jürgen Eckel 2024-05-14 23:17:12 +02:00
  • ccf491d658
    added uncompressed trust anchor pub key processing (#396) v0.9.3 Jürgen Eckel 2024-05-14 10:32:52 +02:00
  • 0a7fcc8475
    added a nother waiting block to pass CI test cases, these are a bit slower Jürgen Eckel 2024-05-13 08:24:10 +02:00
  • 72235a52f2
    fixed linter issue Jürgen Eckel 2024-05-11 20:01:24 +02:00
  • 0c52156406
    added uncompressed trust anchor pub key processing Jürgen Eckel 2024-05-10 14:44:11 +02:00
  • f90751b8d3
    Merge 64660c6424cd9e92093d306fa5ba62d42ea5782d into af1483a8ec6901fa66e638a6df0ccacc5889ebf6 dependabot[bot] 2024-05-10 08:58:05 +00:00
  • af1483a8ec
    added secp256r1 machine ID Sig verification (#395) v0.9.2 Jürgen Eckel 2024-05-10 10:57:55 +02:00
  • 8933e6d3dd
    to go-utils v0.1.1 Jürgen Eckel 2024-05-10 10:47:58 +02:00
  • bfa296bc1f
    * added go-utilsv0.1.0 * added secp256r1 machineIDSignature verification Jürgen Eckel 2024-05-10 10:32:02 +02:00
  • ec22280b2e
    chore(deps): Bump github.com/btcsuite/btcd from 0.23.2 to 0.24.0 in /lib dependabot[bot] 2024-05-06 14:36:18 +00:00
  • acdf3a8ccc
    chore(deps): Bump github.com/btcsuite/btcd from 0.23.2 to 0.24.0 dependabot[bot] 2024-05-06 14:34:50 +00:00
  • 066c1a7667
    Fix rddl claim client load (#388) v0.9.1 Lorenz Herzberger 2024-04-29 11:49:45 +02:00
  • bfeaec57a2
    fix: sane default value for claim-host Lorenz Herzberger 2024-04-29 11:40:24 +02:00
  • df5bd023c4
    fix: lazyLoad on rddl-claim-service-client Lorenz Herzberger 2024-04-29 11:39:19 +02:00
  • bf2f95dc57
    chore(deps): Bump github.com/hashicorp/go-getter in /lib dependabot[bot] 2024-04-28 05:19:27 +00:00
  • 86e27a4d2f
    chore(deps): Bump github.com/hashicorp/go-getter from 1.7.1 to 1.7.4 dependabot[bot] 2024-04-28 05:16:54 +00:00
  • 35eb32a79a
    chore(deps): Bump golang.org/x/net from 0.17.0 to 0.23.0 dependabot[bot] 2024-04-25 12:47:23 +00:00
  • 64660c6424
    chore(deps): Bump github.com/cosmos/cosmos-sdk from 0.47.5 to 0.50.5 dependabot/go_modules/github.com/cosmos/cosmos-sdk-0.50.5 dependabot[bot] 2024-04-25 12:40:52 +00:00
  • 7bbd359a3a
    chore(deps): Bump github.com/cometbft/cometbft from 0.37.2 to 0.38.6 dependabot[bot] 2024-04-25 12:40:42 +00:00
  • fc787f01bb
    chore(deps): Bump github.com/cosmos/ibc-go/v7 from 7.1.0 to 7.4.0 dependabot[bot] 2024-04-25 12:40:34 +00:00
  • b0f8516cd6
    379 create redeem claim does not call service (#383) v0.9.0 Lorenz Herzberger 2024-04-25 14:38:58 +02:00
  • e2c4540cb4
    fix: resolve merge conflict Lorenz Herzberger 2024-04-25 14:27:25 +02:00
  • 2077a3fe48
    chore: remove rddl-claim-service dependency because of go version missmatch Lorenz Herzberger 2024-04-25 14:20:12 +02:00
  • 937104b3cd
    fix: mqtt default config (#382) Julian Strobl 2024-04-25 13:50:22 +02:00
  • 6d91583c4e
    fix: linter context error Lorenz Herzberger 2024-04-25 13:46:15 +02:00
  • 634a9beabe
    feat: use rddl-claim-service-client Lorenz Herzberger 2024-04-25 13:31:37 +02:00
  • b29d67e420
    fix: default mqtt port Julian Strobl 2024-04-25 13:26:14 +02:00
  • c2f887a1ef
    fix: mqtt-tls in default config template Julian Strobl 2024-04-25 13:25:01 +02:00
  • 75bf805bcb
    ci: add bc-slip39-go as dependency Julian Strobl 2024-04-24 15:28:47 +02:00
  • 62af66220f
    wip: add rddl-claim-service/client Lorenz Herzberger 2024-04-24 15:16:48 +02:00
  • b45c381b3b
    TLS support for planetmint (#381) Jürgen Eckel 2024-04-24 14:59:17 +02:00
  • 099178c4d5
    fixed missing variable renameing Jürgen Eckel 2024-04-24 14:49:50 +02:00
  • 8643d8bf83
    changed varialbe name fixed linter issues Jürgen Eckel 2024-04-24 14:43:53 +02:00
  • 7586b26c7e
    * added TSL support for mqtt * added configuration value mqtt-tls (bool) to support tls and non-tls connections (testing) Jürgen Eckel 2024-04-24 14:39:09 +02:00
  • 43d152fcf6
    Donate tokens to attested machines so that these are able to run after their attestation (#375) Jürgen Eckel 2024-04-23 12:00:31 +02:00
  • a97614a7f5
    improved code Jürgen Eckel 2024-04-23 11:37:53 +02:00
  • e38d58187e
    fixed linter issue Jürgen Eckel 2024-04-23 10:59:43 +02:00
  • 76ec61b0ee
    updated openapi yml Jürgen Eckel 2024-04-23 10:53:58 +02:00
  • 4e17ee4c47
    * added donation of tokens/denom to the just attestet machine * extended the machine module to have two additional parameters: amount of tokens to be distributed and their denominator Jürgen Eckel 2024-04-23 10:52:11 +02:00
  • 5e2b307a70
    368 make attestmachine msgtx with fee=zero (#372) Lorenz Herzberger 2024-04-22 13:07:40 +02:00
  • e11cdaa40d
    chore(deps): Bump golang.org/x/net from 0.17.0 to 0.23.0 in /lib dependabot[bot] 2024-04-19 12:30:08 +00:00
  • 7c6e30d4d1
    test: add balance check to machine attestation e2e test Lorenz Herzberger 2024-04-18 10:22:17 +02:00
  • 63649c868c
    * no fee deduction in case of machineattestation messages * no gas price for machineattestations in lib/tx Jürgen Eckel 2024-04-17 13:29:43 +02:00
  • 1983890fb8
    Adjusting to newest version of elements-rpc (#353) Jürgen Eckel 2024-04-09 13:49:51 +02:00
  • 0f8267df19
    Merge branch 'main' into eckelj/adjust_to_new_elements_rpc_version Jürgen Eckel 2024-04-09 11:35:00 +02:00
  • 0fd12a563c
    added to wait for another block to ensure the tx went through (#365) Jürgen Eckel 2024-04-08 14:42:54 +02:00
  • 1248cf5ad6
    added to wait for another block to ensure the tx went through Jürgen Eckel 2024-04-08 11:48:32 +02:00
  • 779b1edd48
    Eckelj/mqtt monitoring (#359) v0.8.5 lib/v0.5.0 Jürgen Eckel 2024-04-08 10:49:00 +02:00
  • ff65b57d89
    added memstorage to test instead of a file based DB Jürgen Eckel 2024-04-08 10:12:54 +02:00
  • 55e1c8feeb
    chore(deps): Bump github.com/cometbft/cometbft in /lib dependabot[bot] 2024-04-07 05:13:00 +00:00
  • 98f16fc487
    chore(deps): Bump github.com/cosmos/ibc-go/v7 in /lib dependabot[bot] 2024-04-05 17:17:25 +00:00
  • a9c5d0a5a5
    added another waiting block to ensuer the tx went through (multi threading issue, race condition) during tests this failed sometimes Jürgen Eckel 2024-04-05 15:48:33 +02:00
  • 9b177f270e
    added missing changes Jürgen Eckel 2024-04-05 15:33:51 +02:00
  • ec0a090dda
    clear seperation between interface and mqtt-Monitor Jürgen Eckel 2024-04-05 15:28:23 +02:00
  • 4303c3069d
    * added mutix in mocks to protect against data races * defined mocks for the dao tests Jürgen Eckel 2024-04-05 12:28:45 +02:00
  • ed9a2779d0
    more linter love Jürgen Eckel 2024-04-05 11:46:05 +02:00
  • dbc2767b5b
    fix: closing leveldb for each test case Jürgen Eckel 2024-04-05 11:38:05 +02:00
  • c85c4f53b3
    satisfy the linters Jürgen Eckel 2024-04-05 11:34:13 +02:00
  • faf4d88522
    added empty line to reduce diff size Jürgen Eckel 2024-04-05 10:51:43 +02:00
  • b7fdd59466
    * created a MockMqttMonitor interface and mock object * used this to pass tests * made the MockMqttMonitor a global object so that it can be easily mocked * removed MockMqttMonitor from the app/keeper initialization * adjusted test cases to register "active machines" to the mqttmonitor Jürgen Eckel 2024-04-05 10:48:04 +02:00
  • 7e2684d9e0
    added missing go.mod chnages Jürgen Eckel 2024-04-04 14:47:06 +02:00
  • 86f56d2a80
    added some linter exclusions to let the monitor tool pass Jürgen Eckel 2024-04-04 14:34:04 +02:00
  • 270793eb7c
    * restart mqtt connection in mqttmonitor on connection loss * adjusted mqttmock structure to be compatible Jürgen Eckel 2024-04-04 14:25:10 +02:00
  • d317a50ce8
    * added explicit mqtt client to the monitor module Jürgen Eckel 2024-04-04 14:16:06 +02:00
  • 75f1444c81
    * added a MqttMonitor modul with levelDB and periodic cleanup * initialized in the app * passed to dao keeper * added conversion methods (string2unixtime, byte ToJSON) * removed obsolete keeper code * maded RDDLToken.Factor public Jürgen Eckel 2024-04-04 13:57:34 +02:00
  • 7d146f2074
    * fixed linter issue * exract params before go into the threads to avoid data races eckelj/threaded_dao_abci Jürgen Eckel 2024-03-25 10:33:03 +01:00
  • 99f9019c92
    put PoP into a go routine Jürgen Eckel 2024-03-25 10:10:18 +01:00
  • 0063cb24e7
    removed parallel testing from util/elementsd_connector_test.go Jürgen Eckel 2024-03-20 13:40:41 +01:00
  • 4bbfab3d65
    removed print outputs Jürgen Eckel 2024-03-20 13:27:01 +01:00
  • c9c2949afc
    using newest elements rpc from now on (>=1.0.0) Jürgen Eckel 2024-03-20 13:19:10 +01:00
  • 0178fc75d0
    * added tests (for the sake of on demand local tests) * added wrapping the first parameters of the calls into " Jürgen Eckel 2024-03-20 11:23:16 +01:00
  • 0ec6fba4ec
    test: run action dynamically for each module in a repository (#351) Julian Strobl 2024-03-20 09:48:18 +01:00