Page MenuHomePhabricator
Feed Advanced Search

Sep 12 2024

Fabien accepted D16746: [ecashaddrjs] Add missing copyright notice to new file.
Sep 12 2024, 07:32
Fabien updated the diff for D16730: Return the RTT parameters in the block template.

Feedback

Sep 12 2024, 07:32
Fabien updated the diff for D16729: Reject blocks that violate the real time target policy.

Feedback

Sep 12 2024, 07:29
Fabien added inline comments to D16729: Reject blocks that violate the real time target policy.
Sep 12 2024, 07:28
Fabien updated the diff for D16728: Compute the real-time hash target for the next block.

Feedback + remove the 18th block in the test, this is confusing for no reason as block[0] is the previous block as per the GetNextRTTWorkRequired call.

Sep 12 2024, 07:24

Sep 11 2024

Fabien accepted D16748: [e.cash] Fix video background not showing.

Crazy this went unnoticed for so long

Sep 11 2024, 20:15
Fabien added a comment to D16748: [e.cash] Fix video background not showing.

@bot preview-e.cash

Sep 11 2024, 20:10
Fabien added a comment to D16724: [explorer] add testnet toggle in menu bar.

Well yeah I havent added any rust code yet cause I dont know it!
I did try messing with the config.toml and the templating, but was guessing my way through. Base.html doesnt use a template currently afaict
How can you do it without using the templating? Is there a simple way to access a config variable in base.html that I'm missing?

Sep 11 2024, 20:09
Fabien updated the diff for D16728: Compute the real-time hash target for the next block.

EDA -> DAA

Sep 11 2024, 19:57
Fabien updated the diff for D16728: Compute the real-time hash target for the next block.

Improve comment on the windows selection

Sep 11 2024, 19:40
Fabien updated the diff for D16730: Return the RTT parameters in the block template.

Rebase, return all 4 header times in gbt, return the RTT as compact since the previous rationale no longer holds

Sep 11 2024, 14:26
Fabien updated the summary of D16730: Return the RTT parameters in the block template.
Sep 11 2024, 14:26
Fabien updated the diff for D16729: Reject blocks that violate the real time target policy.

Rebase, feedback and minor adaptation to accomodate the new algo

Sep 11 2024, 14:25
Fabien updated the diff for D16728: Compute the real-time hash target for the next block.

Typo

Sep 11 2024, 14:22
Fabien updated the diff for D16728: Compute the real-time hash target for the next block.

Update the algorithm

Sep 11 2024, 14:21
Fabien requested changes to D16746: [ecashaddrjs] Add missing copyright notice to new file.

That's not our standard copyright

Sep 11 2024, 14:16
Fabien accepted D16735: [ecash-agora] Partial Agora offers: Add approximation logic.
Sep 11 2024, 08:50

Sep 10 2024

Fabien accepted D16741: [ecash-agora] Prepare agora test framework to have more sats available.
Sep 10 2024, 14:28
Fabien accepted D16740: [ecash-lib] Use `new Error` when throwing errors in `WriterBytes`.
Sep 10 2024, 14:23
Fabien accepted D16736: [e.cash] update meta description.
Sep 10 2024, 14:22
Fabien added inline comments to D16735: [ecash-agora] Partial Agora offers: Add approximation logic.
Sep 10 2024, 13:02

Sep 9 2024

Fabien added inline comments to D16735: [ecash-agora] Partial Agora offers: Add approximation logic.
Sep 9 2024, 20:25
Fabien added a comment to D16724: [explorer] add testnet toggle in menu bar.

Any specific tips how to make that? I'm still not up to speed on any rust programming

Sep 9 2024, 20:18
Fabien added a comment to D16724: [explorer] add testnet toggle in menu bar.

Okay made some adjustments.
Im not to sure how to execute your second point though, to have it be in the config...The idea there is to only have it show if someone explicitly says so in the config and runs it themselves? but for the normal user this will not be shown?

Sep 9 2024, 18:49
Fabien planned changes to D16730: Return the RTT parameters in the block template.
Sep 9 2024, 07:19
Fabien planned changes to D16728: Compute the real-time hash target for the next block.

Got offline feedback that deserves looking at a design update

Sep 9 2024, 07:19

Sep 6 2024

Fabien accepted D16731: [electrum] push release notification for 5.3.0.
Sep 6 2024, 18:35
Fabien requested review of D16730: Return the RTT parameters in the block template.
Sep 6 2024, 14:04
Fabien requested review of D16729: Reject blocks that violate the real time target policy.
Sep 6 2024, 14:00
Fabien updated the summary of D16728: Compute the real-time hash target for the next block.
Sep 6 2024, 13:25
Fabien requested review of D16728: Compute the real-time hash target for the next block.
Sep 6 2024, 13:21
Fabien requested changes to D16724: [explorer] add testnet toggle in menu bar.

Ideally would add to the testnet page as well...Im not sure where that one is maintained

Guess what: this is the same explorer code :) So the selection should reflect whether it's mainnet or testnet. You can look at the url or use the config file which has an chain parameter (see server.rs).
I suggest also that this feature is behind a config flag or an environment variable, because it makes it more convenient to reuse if it's off by default. This is quite specialized for our needs.

Sep 6 2024, 08:09
Fabien accepted D16727: [electrum] remove misleading LIBSECP_COMMIT var.
Sep 6 2024, 08:03
Fabien accepted D16726: [electrum] bump pyinstaller to v6.10.0.
Sep 6 2024, 08:03
Fabien accepted D16725: [electrum] pinpoint packaging lib and specify hashes for MacOS build.
Sep 6 2024, 08:02

Sep 5 2024

Fabien planned changes to D16699: Update chronik documentation after NNG deprecation.
Sep 5 2024, 18:16
Fabien accepted D16708: [Chronik] Add plugin group tx history.
Sep 5 2024, 18:16
Fabien accepted D16723: [Chronik] Fix plugin mempool by storing spent outputs.
Sep 5 2024, 18:14
Fabien updated the diff for D16699: Update chronik documentation after NNG deprecation.

Fix react live scope

Sep 5 2024, 16:45
Fabien accepted D16695: [avalanche] Add a cache for avalanche voting results of stake contenders.
Sep 5 2024, 16:27
Fabien closed D16722: [chronik-doc] Check doc deployment on a temporary URL.
Sep 5 2024, 15:06
Fabien committed rABC8134d9502100: [chronik-doc] Check doc deployment on a temporary URL (authored by Fabien).
[chronik-doc] Check doc deployment on a temporary URL
Sep 5 2024, 15:06
Fabien requested review of D16722: [chronik-doc] Check doc deployment on a temporary URL.
Sep 5 2024, 15:06
Fabien accepted D16721: [electrum] bump version to 5.3.0, add release notes.
Sep 5 2024, 15:02
Fabien accepted D16719: [electrum] misc fixes for OSX build.
Sep 5 2024, 15:01
Fabien accepted D16718: [electrum] consistently download the locale files from github.
Sep 5 2024, 15:01
Fabien accepted D16720: [chronik.e.cash] warn on broken links during docusaurus build.
Sep 5 2024, 13:42
Fabien accepted D16717: [chronik.e.cash] Fix monorepo dir structure around docs.
Sep 5 2024, 13:14
Fabien accepted D16715: [electrum] consistently use the seclib alias in schnorr.py.
Sep 5 2024, 07:12

Sep 4 2024

Fabien added inline comments to D16695: [avalanche] Add a cache for avalanche voting results of stake contenders.
Sep 4 2024, 20:41
Fabien accepted D16714: [token-server] Extend rate limiting to token rewards.
Sep 4 2024, 20:35
Fabien accepted D16710: [chronik-client] Version bump to publish non-nng chronik-client.
Sep 4 2024, 18:30
Fabien added inline comments to D16710: [chronik-client] Version bump to publish non-nng chronik-client.
Sep 4 2024, 18:25
Fabien added a comment to D16710: [chronik-client] Version bump to publish non-nng chronik-client.

Is it semver compatible to remove the alias without a major version bump ? If yes then it's fine and we can remove it with a minor version change. Otherwise we should remove the alias when publishing this major version.

semver is pretty loosely defined, and we are still at an early stage in this repo. "technically" it should be a major version change. but we have already neglected a major version bump for a breaking change before in the chronik-client module.

"1.0.0" is more like "ok, we are now starting to add features exclusively for the in-node version" -- so, a potential opportunity to bump.

if we keep ChronikClientNode alias here, it will probably stay for years, then unexpectedly break something down the line when another dev removes the "dead" code...so I am open to just taking it out and dealing with the handful of impacted parties rightnow.

decision to major or minor bump is more aesthetic at this point. chronik-client has 11 weekly downloads on npm.

Sep 4 2024, 18:15
Fabien added a comment to D16710: [chronik-client] Version bump to publish non-nng chronik-client.

Tail of the build log:

    os.makedirs(tmpdir)
  File "/usr/lib/python3.9/os.py", line 225, in makedirs
    mkdir(name, mode)
FileExistsError: [Errno 17] File exists: '/work/abc-ci-builds/ecash-lib-integration-tests/test/tmp/test_runner_₿₵_🏃_20240904_175710'
Test runner completed with code 1
----------------------------|---------|----------|---------|---------|------------------------------
File                        | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s            
----------------------------|---------|----------|---------|---------|------------------------------
All files                   |   62.22 |    52.47 |   62.44 |    62.2 |                              
 ecash-lib                  |       0 |        0 |       0 |       0 |                              
  eslint.config.js          |       0 |        0 |       0 |       0 |                              
 ecash-lib/src              |    71.5 |    54.71 |    72.5 |    71.1 |                              
  consts.ts                 |       0 |      100 |     100 |       0 | 6-8                          
  ecc.ts                    |   57.14 |    83.33 |      40 |   57.14 | 23-31                        
  hash.ts                   |   88.88 |    83.33 |      80 |   88.88 | 14                           
  index.ts                  |       0 |        0 |       0 |       0 |                              
  indexBrowser.ts           |       0 |        0 |       0 |       0 |                              
  indexNodeJs.ts            |       0 |        0 |       0 |       0 |                              
  initBrowser.ts            |       0 |      100 |       0 |       0 | 11-13                        
  initNodeJs.ts             |     100 |      100 |     100 |     100 |                              
  op.ts                     |      40 |    44.44 |   66.66 |      40 | ...4,107,109,117-122,133-161 
  opcode.ts                 |     100 |    83.33 |     100 |     100 | 1                            
  script.ts                 |   52.63 |    38.09 |      60 |    50.9 | ...4-135,146,156,166,188-199 
  sigHashType.ts            |   77.77 |       44 |   85.71 |   77.77 | 26-38                        
  tx.ts                     |   93.47 |    79.16 |    90.9 |   93.18 | 123-125                      
  txBuilder.ts              |   56.17 |    48.14 |   69.23 |   54.65 | ...3-107,139-183,206,236-240 
  unsignedTx.ts             |    73.8 |    57.14 |   78.57 |   74.07 | ...3,151,159,184,192,198-201 
 ecash-lib/src/ffi          |   28.26 |    15.94 |   16.98 |   28.98 |                              
  ecash_lib_wasm_browser.js |       0 |        0 |       0 |       0 | 3-336                        
  ecash_lib_wasm_nodejs.js  |    61.9 |       55 |   39.13 |   62.75 | ...1,197-215,237,250-251,255 
 ecash-lib/src/io           |   59.55 |    60.29 |   70.58 |   58.77 |                              
  bytes.ts                  |     7.4 |    71.42 |    12.5 |     7.4 | 13-64                        
  hex.ts                    |   82.05 |     62.5 |      80 |   82.35 | 41-45,50,58                  
  int.ts                    |       0 |        0 |       0 |       0 |                              
  str.ts                    |   85.71 |    83.33 |   66.66 |   85.71 | 15                           
  varsize.ts                |      32 |    36.36 |   66.66 |      32 | 14-24,40-47                  
  writer.ts                 |       0 |        0 |       0 |       0 |                              
  writerbytes.ts            |   83.33 |    68.42 |     100 |   83.33 | 33,43,53,63,79               
  writerlength.ts           |     100 |    83.33 |     100 |     100 | 1                            
 ecash-lib/src/test         |   87.67 |    54.34 |    87.5 |   88.23 |                              
  testRunner.ts             |   87.67 |    54.34 |    87.5 |   88.23 | 71-73,86-87,110,121,164      
 ecash-lib/src/token        |   87.15 |    72.85 |   93.33 |   87.07 |                              
  alp.ts                    |   82.92 |    89.47 |   83.33 |   82.92 | 110-123,142                  
  common.ts                 |     100 |    83.33 |     100 |     100 | 1                            
  empp.ts                   |    92.3 |       75 |     100 |   91.66 | 12                           
  slp.ts                    |   89.74 |    62.16 |     100 |   89.74 | ...9,161,167,175,178,197,202 
----------------------------|---------|----------|---------|---------|------------------------------

##teamcity[blockOpened name='Code Coverage Summary']
##teamcity[buildStatisticValue key='CodeCoverageAbsBCovered' value='776']
##teamcity[buildStatisticValue key='CodeCoverageAbsBTotal' value='1247']
##teamcity[buildStatisticValue key='CodeCoverageAbsRCovered' value='244']
##teamcity[buildStatisticValue key='CodeCoverageAbsRTotal' value='465']
##teamcity[buildStatisticValue key='CodeCoverageAbsMCovered' value='133']
##teamcity[buildStatisticValue key='CodeCoverageAbsMTotal' value='213']
##teamcity[buildStatisticValue key='CodeCoverageAbsLCovered' value='757']
##teamcity[buildStatisticValue key='CodeCoverageAbsLTotal' value='1217']
##teamcity[blockClosed name='Code Coverage Summary']
mv: cannot stat 'test_results/ecash-lib-integration-tests-junit.xml': No such file or directory
Build ecash-lib-integration-tests failed with exit code 1

flakiness here looks potentially CI related, tho I am not sure really. Re-running to test.

Sep 4 2024, 18:01
Fabien added a comment to D16710: [chronik-client] Version bump to publish non-nng chronik-client.

Is it semver compatible to remove the alias without a major version bump ? If yes then it's fine and we can remove it with a minor version change. Otherwise we should remove the alias when publishing this major version.

Sep 4 2024, 18:01
Fabien accepted D16689: [electrum] ecc: use libsecp256k1 for sign/verify/mul/add.
Sep 4 2024, 17:57
Fabien accepted D16712: [e.cash] Add mining dutch to solo mining list.
Sep 4 2024, 17:55
Fabien accepted D16690: [electrum] use libsecp256k1 for signature conversions.
Sep 4 2024, 12:12
Fabien requested changes to D16689: [electrum] ecc: use libsecp256k1 for sign/verify/mul/add.
Sep 4 2024, 12:12
Fabien accepted D16711: [Cashtab] Patch airdrop blank screen bug.
Sep 4 2024, 08:44
Fabien accepted D16707: [electrum] remove ecdsa as a direct dependency.
Sep 4 2024, 08:44
Fabien requested changes to D16706: [electrum] hard fail if libsecp256k1 is not found/usable.
Sep 4 2024, 08:42
Fabien accepted D16705: [electrum] use libsecp256k1 for pubkey recovery (from sig and msg).
Sep 4 2024, 08:40
Fabien requested changes to D16690: [electrum] use libsecp256k1 for signature conversions.
Sep 4 2024, 08:15
Fabien requested changes to D16689: [electrum] ecc: use libsecp256k1 for sign/verify/mul/add.
Sep 4 2024, 08:09
Fabien requested changes to D16695: [avalanche] Add a cache for avalanche voting results of stake contenders.

This memory is important so that nodes can reply to stake contender avalanche requests of recent past blocks (we cannot guarantee the entire network has finalized the same block in lock step).

Is it really ? If a block has finalized for some nodes but not others, what is the point of voting on past block rewards ? If the node votes idk the block will eventually be finalized by the poller anyway so the outcome of this stake vote doesn't matter. The only case I think it is helpful is if you get a bunch of blocks in a row, faster than finalization time. But as soon as a block is final you can forget about winners for it and past blocks.

Sep 4 2024, 07:53

Sep 3 2024

Fabien accepted D16694: refactor: Enable proof reward rank to be used elsewhere.
Sep 3 2024, 15:51
Fabien accepted D16687: [CI] build libsecp256k1 for electrum tests.
Sep 3 2024, 15:23
Fabien closed D16704: Bump version to 0.29.12.
Sep 3 2024, 09:23
Fabien committed rABCe88efebbafb6: Bump version to 0.29.12 (authored by Fabien).
Bump version to 0.29.12
Sep 3 2024, 09:23
teamcity awarded D16704: Bump version to 0.29.12 a Haypence token.
Sep 3 2024, 08:30
Fabien added a comment to D16704: Bump version to 0.29.12.

@bot electrum-functional-tests

Sep 3 2024, 08:30
Fabien requested review of D16704: Bump version to 0.29.12.
Sep 3 2024, 07:59
Fabien accepted D16703: [token-server] Improve logging.
Sep 3 2024, 07:50

Sep 2 2024

Fabien accepted D16702: [electrum] regenerate protobuf files.
Sep 2 2024, 16:33
Fabien closed D16700: [cmake] Add an option to build the secp256k1 library as shared.
Sep 2 2024, 08:58
Fabien committed rABCa8ce9a440b5a: [cmake] Add an option to build the secp256k1 library as shared (authored by Fabien).
[cmake] Add an option to build the secp256k1 library as shared
Sep 2 2024, 08:58
Fabien requested review of D16700: [cmake] Add an option to build the secp256k1 library as shared.
Sep 2 2024, 08:35

Aug 31 2024

Fabien planned changes to D16699: Update chronik documentation after NNG deprecation.
Aug 31 2024, 19:46
Fabien updated the diff for D16699: Update chronik documentation after NNG deprecation.

Use local chronik

Aug 31 2024, 19:46
Fabien planned changes to D16699: Update chronik documentation after NNG deprecation.
Aug 31 2024, 15:48
Fabien requested review of D16699: Update chronik documentation after NNG deprecation.
Aug 31 2024, 13:34
Fabien accepted D16696: [Chronik] Support listening to WebSocket updates from plugins.
Aug 31 2024, 12:06

Aug 30 2024

Fabien requested changes to D16695: [avalanche] Add a cache for avalanche voting results of stake contenders.
Aug 30 2024, 20:47
Fabien accepted D16682: [electrum] use GENERATOR and CURVE_ORDER from ecc module.
Aug 30 2024, 20:28
Fabien accepted D16676: [electrum] refactor private key class to better abstract ecdsa library usage.
Aug 30 2024, 20:07
Fabien closed D16650: [avalanche] Reject transactions that conflict with a finalized one.
Aug 30 2024, 19:49
Fabien committed rABC4f410b8b7e06: [avalanche] Reject transactions that conflict with a finalized one (authored by Fabien).
[avalanche] Reject transactions that conflict with a finalized one
Aug 30 2024, 19:49

Aug 17 2024

Fabien accepted D16660: [dependencies] Patch checksum for nodesetup.h.
Aug 17 2024, 20:32

Aug 16 2024

Fabien closed D16658: Return the blockhash of the tx mining block in gettransactionstatus.
Aug 16 2024, 11:45
Fabien committed rABCc211a1622859: Return the blockhash of the tx mining block in gettransactionstatus (authored by Fabien).
Return the blockhash of the tx mining block in gettransactionstatus
Aug 16 2024, 11:45
Fabien updated the diff for D16658: Return the blockhash of the tx mining block in gettransactionstatus.

Make sure the index has synced in test

Aug 16 2024, 10:40
Fabien updated the diff for D16658: Return the blockhash of the tx mining block in gettransactionstatus.

string layout

Aug 16 2024, 10:07
Fabien updated the diff for D16658: Return the blockhash of the tx mining block in gettransactionstatus.

mined_in_block -> block

Aug 16 2024, 10:06
Fabien updated the diff for D16650: [avalanche] Reject transactions that conflict with a finalized one.

Rebase and rename gettransactionpool -> gettransactionstatus

Aug 16 2024, 09:51
Fabien requested review of D16658: Return the blockhash of the tx mining block in gettransactionstatus.
Aug 16 2024, 09:47
Fabien closed D16649: [avalanche] Return a specific vote value for conflicting txs.
Aug 16 2024, 09:41
Fabien committed rABC88b5d8c481e2: [avalanche] Return a specific vote value for conflicting txs (authored by Fabien).
[avalanche] Return a specific vote value for conflicting txs
Aug 16 2024, 09:41
Fabien closed D16645: Introduce a conflicting tx pool.
Aug 16 2024, 09:40