Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

STAGING -> MASTER #4466

Merged
merged 24 commits into from
Nov 29, 2023
Merged

STAGING -> MASTER #4466

merged 24 commits into from
Nov 29, 2023

Conversation

NullSoldier
Copy link
Contributor

No description provided.

NullSoldier and others added 23 commits November 6, 2023 16:52
This is only used by the standalone wallet and should not be referenced
in the CLI.
This fixes the issue if you mount 2 TLS adapters, they'll race to
generate 2 auth. Also each adapter that needs token would have to
generate it.
This reduces the need for a full node for the Migrator dependencies. It
allows anyone to run migrations that can satisify the migrator context
requirements.
* Adding index column and sorting by state

* adding command

* removing sort exclusive flag

* removing index column

* replacing flags with default ux table flags
When trying to maintain the max peer count allowed, the peer connection
manager should not disconnect whitelisted nodes. The expectation for
whitelisted nodes is that they should essentially be treated special and
assumed to always be connected.
* changing order of connections

* Only connecting to bootstrap nodes when no web socket peers exist

* splitting out websocker server to function

* Adding comments:

* changing order:

* Update ironfish/src/network/peerNetwork.ts

Co-authored-by: mat-if <[email protected]>

---------

Co-authored-by: mat-if <[email protected]>
* Fix an RPC timing attack

This fixes a timing attack where the comparater for strings is not
constant time. You can find the password over time by trying different
bytes which allow you to get closer and closer to the actual password.

See https://en.wikipedia.org/wiki/Timing_attack

* Fix issue with function exception

* ADd true constant time

* PR feedback

* fix failing test

* Fix config change listener
service commands have moved to the ironfish-services-cli repo
* removes service commands from ironfish-cli

service commands have moved to the ironfish-services-cli repo

* removes WebApi from sdk

removing the service commands from ironfish-cli removes all but two of the
WebApi methods in the sdk: a method for submitting telemetry and a method to
support the 'faucet/getFunds' RPC

moving the logic for these methods out to their clients allows us to remove the
WebApi module altogether

removing the WebApi module decouples the faucet api from the telemetry api

* fixes getFunds test
* nullifier and note hash are together

* changing spent from checkmark to true and false

* changing false to x
I got confused when I looked in this file in the RPC folder, and
these are not types for the RPC Layer, but types for individual
routes. They should not live in the RPC code because it's conflating
a system, with things that consume that system.
trimming the account name makes any account with leading or trailing whitespace
unusable with the cli

we don't trim whitespace in the rpc or sdk when creating accounts, so it's
possible for users to have accounts that have leading or trailing whitespace
This allows us to isolate the requirements down to what each route
needs. This is a form of dependency injection where the route needs to
satisfy it's own dependencies, rather than have a DI system do this. A
DI system would be fine too, I just didn't want to pull one into the
code base..
* Remove WalletNode from SDK

This is now moved entirely into the standalone CLI codebase.

* Fixed broken util
These config options are only used by an external repository and should
not be added to the SDK config itself.
* adding ability to select notes in the transaction send command

* change notes to note
@NullSoldier NullSoldier requested a review from a team as a code owner November 29, 2023 22:55
@NullSoldier NullSoldier merged commit 8fa601f into master Nov 29, 2023
8 of 9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants