Datasets:
text stringlengths 19 585k | label stringclasses 2
values | category stringclasses 2
values | language stringclasses 14
values | repo stringclasses 932
values | sha stringlengths 40 40 |
|---|---|---|---|---|---|
@@ -136,6 +123,20 @@ private static async Task<bool> InitializeLogFileWriterBackgroundTaskAsync()
return false;
} | bad | review | csharp | 0x7c13/Notepads | ad7c8d959d20f38045f980bd6683265cb823f9d2 |
diff --git a/src/Notepads/Services/LoggingService.cs b/src/Notepads/Services/LoggingService.cs
index 5c291013d..1d9deaa9b 100644
--- a/src/Notepads/Services/LoggingService.cs
+++ b/src/Notepads/Services/LoggingService.cs
@@ -13,7 +13,7 @@
public static class LoggingService
{
- private const string Me... | good | review_fixed | csharp | 0x7c13/Notepads | ad7c8d959d20f38045f980bd6683265cb823f9d2 |
@@ -67,8 +67,13 @@ manim-render example_scenes.py OpeningManimExample
```sh
brew install ffmpeg mactex
```
+
+2. If you are using M1, install Cairo. | bad | review | 3b1b/manim | 2f2fc297005b3245e56db4c3143d8f0420907ecd | |
diff --git a/README.md b/README.md
index 240d03a698..3451515742 100644
--- a/README.md
+++ b/README.md
@@ -67,8 +67,13 @@ manim-render example_scenes.py OpeningManimExample
```sh
brew install ffmpeg mactex
```
+
+2. If you are using an ARM-based processor, install Cairo.
+ ```sh
+ arch -arm64 brew... | good | review_fixed | 3b1b/manim | 2f2fc297005b3245e56db4c3143d8f0420907ecd | |
@@ -142,35 +143,48 @@ def get_indent(code_lines: list[str], line_number: int) -> str:
return n_spaces * " "
-def insert_embed_line_to_module(module: Module, line_number: int):
+def insert_embed_line_to_module(module: Module, run_config: Dict) -> None:
"""
This is hacky, but convenient. When user incl... | bad | review | python | 3b1b/manim | f562d749d94a6f9c8ed2461643524fe9c2e2c4db |
diff --git a/manimlib/extract_scene.py b/manimlib/extract_scene.py
index 5509778b05..28e22256ee 100644
--- a/manimlib/extract_scene.py
+++ b/manimlib/extract_scene.py
@@ -12,6 +12,7 @@
from manimlib.scene.scene import Scene
from typing import TYPE_CHECKING
+
if TYPE_CHECKING:
Module = importlib.util.types.Mod... | good | review_fixed | python | 3b1b/manim | f562d749d94a6f9c8ed2461643524fe9c2e2c4db |
@@ -5,13 +5,13 @@
# you are running manim. For 3blue1brown, for instance, mind is
# here: https://github.com/3b1b/videos/blob/master/custom_config.yml
-# Alternatively, you can create it whereever you like, and on running
+# Alternatively, you can create it where ever you like, and on running | bad | review | 3b1b/manim | f562d749d94a6f9c8ed2461643524fe9c2e2c4db | |
diff --git a/manimlib/default_config.yml b/manimlib/default_config.yml
index 397de60ebf..6e2135b995 100644
--- a/manimlib/default_config.yml
+++ b/manimlib/default_config.yml
@@ -5,13 +5,13 @@
# you are running manim. For 3blue1brown, for instance, mind is
# here: https://github.com/3b1b/videos/blob/master/custom_con... | good | review_fixed | 3b1b/manim | f562d749d94a6f9c8ed2461643524fe9c2e2c4db | |
@@ -142,35 +143,48 @@ def get_indent(code_lines: list[str], line_number: int) -> str:
return n_spaces * " "
-def insert_embed_line_to_module(module: Module, line_number: int):
+def insert_embed_line_to_module(module: Module, run_config: Dict) -> None:
"""
This is hacky, but convenient. When user incl... | bad | review | python | 3b1b/manim | f562d749d94a6f9c8ed2461643524fe9c2e2c4db |
diff --git a/manimlib/extract_scene.py b/manimlib/extract_scene.py
index 5509778b05..28e22256ee 100644
--- a/manimlib/extract_scene.py
+++ b/manimlib/extract_scene.py
@@ -12,6 +12,7 @@
from manimlib.scene.scene import Scene
from typing import TYPE_CHECKING
+
if TYPE_CHECKING:
Module = importlib.util.types.Mod... | good | review_fixed | python | 3b1b/manim | f562d749d94a6f9c8ed2461643524fe9c2e2c4db |
@@ -0,0 +1,54 @@
+#ifndef _BOARD_CONFIG_H_
+#define _BOARD_CONFIG_H_
+
+#include <driver/gpio.h>
+
+#define AUDIO_INPUT_SAMPLE_RATE 24000
+#define AUDIO_OUTPUT_SAMPLE_RATE 24000
+
+#define AUDIO_INPUT_REFERENCE true
+
+#define AUDIO_I2S_GPIO_MCLK GPIO_NUM_13
+#define AUDIO_I2S_GPIO_... | bad | review | c | 78/xiaozhi-esp32 | d54e523dd9102342c3e9e19cb431b22b18cf199a |
diff --git a/main/boards/waveshare/esp32-p4-wifi6-touch-lcd-3.5/config.h b/main/boards/waveshare/esp32-p4-wifi6-touch-lcd-3.5/config.h
new file mode 100644
index 0000000000..749b601207
--- /dev/null
+++ b/main/boards/waveshare/esp32-p4-wifi6-touch-lcd-3.5/config.h
@@ -0,0 +1,45 @@
+#ifndef _BOARD_CONFIG_H_
+#define _BO... | good | review_fixed | c | 78/xiaozhi-esp32 | d54e523dd9102342c3e9e19cb431b22b18cf199a |
@@ -0,0 +1,21 @@
+{
+ "manufacturer": "waveshare",
+ "target": "esp32p4",
+ "builds": [
+ {
+ "name": "esp32-p4-wifi6-touch-lcd-3.5",
+ "sdkconfig_append": [
+ "CONFIG_SPIRAM_MALLOC_ALWAYSINTERNAL=0",
+ "CONFIG_BOOTLOADER_CACHE_32BIT_ADDR_QUAD_FLASH=y"... | bad | review | 78/xiaozhi-esp32 | d54e523dd9102342c3e9e19cb431b22b18cf199a | |
diff --git a/main/boards/waveshare/esp32-p4-wifi6-touch-lcd-3.5/config.json b/main/boards/waveshare/esp32-p4-wifi6-touch-lcd-3.5/config.json
new file mode 100644
index 0000000000..50f640886e
--- /dev/null
+++ b/main/boards/waveshare/esp32-p4-wifi6-touch-lcd-3.5/config.json
@@ -0,0 +1,17 @@
+{
+ "manufacturer": "wave... | good | review_fixed | 78/xiaozhi-esp32 | d54e523dd9102342c3e9e19cb431b22b18cf199a | |
@@ -0,0 +1,205 @@
+#include "wifi_board.h"
+#include "codecs/es8311_audio_codec.h"
+#include "application.h"
+#include "display/lcd_display.h"
+#include "button.h"
+#include "esp_video.h"
+#include "esp_video_init.h"
+#include "esp_cam_sensor_xclk.h"
+#include "esp_lcd_mipi_dsi.h" | bad | review | cpp | 78/xiaozhi-esp32 | d54e523dd9102342c3e9e19cb431b22b18cf199a |
diff --git a/main/boards/waveshare/esp32-p4-wifi6-touch-lcd-3.5/esp32-p4-wifi6-touch-lcd-3.5.cc b/main/boards/waveshare/esp32-p4-wifi6-touch-lcd-3.5/esp32-p4-wifi6-touch-lcd-3.5.cc
new file mode 100644
index 0000000000..f042611d31
--- /dev/null
+++ b/main/boards/waveshare/esp32-p4-wifi6-touch-lcd-3.5/esp32-p4-wifi6-tou... | good | review_fixed | cpp | 78/xiaozhi-esp32 | d54e523dd9102342c3e9e19cb431b22b18cf199a |
@@ -0,0 +1,205 @@
+#include "wifi_board.h"
+#include "codecs/es8311_audio_codec.h"
+#include "application.h"
+#include "display/lcd_display.h"
+#include "button.h"
+#include "esp_video.h"
+#include "esp_video_init.h"
+#include "esp_cam_sensor_xclk.h"
+#include "esp_lcd_mipi_dsi.h"
+#include "esp_lcd_panel_ops.h"
+#incl... | bad | review | cpp | 78/xiaozhi-esp32 | d54e523dd9102342c3e9e19cb431b22b18cf199a |
diff --git a/main/boards/waveshare/esp32-p4-wifi6-touch-lcd-3.5/esp32-p4-wifi6-touch-lcd-3.5.cc b/main/boards/waveshare/esp32-p4-wifi6-touch-lcd-3.5/esp32-p4-wifi6-touch-lcd-3.5.cc
new file mode 100644
index 0000000000..f042611d31
--- /dev/null
+++ b/main/boards/waveshare/esp32-p4-wifi6-touch-lcd-3.5/esp32-p4-wifi6-tou... | good | review_fixed | cpp | 78/xiaozhi-esp32 | d54e523dd9102342c3e9e19cb431b22b18cf199a |
@@ -0,0 +1,205 @@
+#include "wifi_board.h"
+#include "codecs/es8311_audio_codec.h"
+#include "application.h"
+#include "display/lcd_display.h"
+#include "button.h"
+#include "esp_video.h"
+#include "esp_video_init.h"
+#include "esp_cam_sensor_xclk.h"
+#include "esp_lcd_mipi_dsi.h"
+#include "esp_lcd_panel_ops.h"
+#incl... | bad | review | cpp | 78/xiaozhi-esp32 | d54e523dd9102342c3e9e19cb431b22b18cf199a |
diff --git a/main/boards/waveshare/esp32-p4-wifi6-touch-lcd-3.5/esp32-p4-wifi6-touch-lcd-3.5.cc b/main/boards/waveshare/esp32-p4-wifi6-touch-lcd-3.5/esp32-p4-wifi6-touch-lcd-3.5.cc
new file mode 100644
index 0000000000..f042611d31
--- /dev/null
+++ b/main/boards/waveshare/esp32-p4-wifi6-touch-lcd-3.5/esp32-p4-wifi6-tou... | good | review_fixed | cpp | 78/xiaozhi-esp32 | d54e523dd9102342c3e9e19cb431b22b18cf199a |
@@ -0,0 +1,12 @@
+{
+ "target": "esp32s3", | bad | review | 78/xiaozhi-esp32 | 74fa5413fcb81599f177c87dc2183c9d8670f7b3 | |
diff --git a/main/boards/waveshare/esp32-s3-touch-lcd-1.54/config.json b/main/boards/waveshare/esp32-s3-touch-lcd-1.54/config.json
new file mode 100644
index 0000000000..ec065cae1d
--- /dev/null
+++ b/main/boards/waveshare/esp32-s3-touch-lcd-1.54/config.json
@@ -0,0 +1,13 @@
+{
+ "manufacturer": "waveshare",
+ "t... | good | review_fixed | 78/xiaozhi-esp32 | 74fa5413fcb81599f177c87dc2183c9d8670f7b3 | |
@@ -0,0 +1,12 @@
+{
+ "target": "esp32s3", | bad | review | 78/xiaozhi-esp32 | 74fa5413fcb81599f177c87dc2183c9d8670f7b3 | |
diff --git a/main/boards/waveshare/esp32-s3-lcd-0.85/config.json b/main/boards/waveshare/esp32-s3-lcd-0.85/config.json
new file mode 100644
index 0000000000..6520b37337
--- /dev/null
+++ b/main/boards/waveshare/esp32-s3-lcd-0.85/config.json
@@ -0,0 +1,15 @@
+{
+ "manufacturer": "waveshare",
+ "target": "esp32s3",... | good | review_fixed | 78/xiaozhi-esp32 | 74fa5413fcb81599f177c87dc2183c9d8670f7b3 | |
@@ -0,0 +1,13 @@
+{
+ "manufacturer": "waveshare",
+ "target": "esp32s3",
+ "builds": [
+ {
+ "name": "esp32-s3-lcd-0.85",
+ "sdkconfig_append": [
+ "CONFIG_USE_ESP_WAKE_WORD=y" | bad | review | 78/xiaozhi-esp32 | 74fa5413fcb81599f177c87dc2183c9d8670f7b3 | |
diff --git a/main/boards/waveshare/esp32-s3-lcd-0.85/config.json b/main/boards/waveshare/esp32-s3-lcd-0.85/config.json
new file mode 100644
index 0000000000..6520b37337
--- /dev/null
+++ b/main/boards/waveshare/esp32-s3-lcd-0.85/config.json
@@ -0,0 +1,15 @@
+{
+ "manufacturer": "waveshare",
+ "target": "esp32s3",... | good | review_fixed | 78/xiaozhi-esp32 | 74fa5413fcb81599f177c87dc2183c9d8670f7b3 | |
@@ -0,0 +1,13 @@
+{
+ "manufacturer": "waveshare",
+ "target": "esp32s3",
+ "builds": [
+ {
+ "name": "esp32-s3-touch-lcd-1.54",
+ "sdkconfig_append": [
+ "CONFIG_USE_ESP_WAKE_WORD=y" | bad | review | 78/xiaozhi-esp32 | 74fa5413fcb81599f177c87dc2183c9d8670f7b3 | |
diff --git a/main/boards/waveshare/esp32-s3-touch-lcd-1.54/config.json b/main/boards/waveshare/esp32-s3-touch-lcd-1.54/config.json
new file mode 100644
index 0000000000..ec065cae1d
--- /dev/null
+++ b/main/boards/waveshare/esp32-s3-touch-lcd-1.54/config.json
@@ -0,0 +1,13 @@
+{
+ "manufacturer": "waveshare",
+ "t... | good | review_fixed | 78/xiaozhi-esp32 | 74fa5413fcb81599f177c87dc2183c9d8670f7b3 | |
@@ -326,7 +327,13 @@ if (1)
"mt_xowa": "there are bugs in iOS preventing background playback using this format; please use caf or mp3 instead",
"mt_tint": "background level (0-100) on the seekbar$Nto make buffering less distracting",
"mt_eq": "enables the equalizer and gain control;$N$Nboost <code>0</... | bad | review | javascript | 9001/copyparty | 8f4bb8033a74ddc7a0e3a99918f74efffc95b475 |
diff --git a/copyparty/web/browser.js b/copyparty/web/browser.js
index 70c623567..eb6d2a65a 100644
--- a/copyparty/web/browser.js
+++ b/copyparty/web/browser.js
@@ -290,6 +290,7 @@ if (1)
"ml_tint": "tint",
"ml_eq": "audio equalizer",
"ml_drc": "dynamic range compressor",
+ "ml_ss": "skip silence",
"mt_l... | good | review_fixed | javascript | 9001/copyparty | 8f4bb8033a74ddc7a0e3a99918f74efffc95b475 |
@@ -2690,11 +2700,15 @@ var afilt = (function () {
var r = {
"eqen": false,
"drcen": false,
+ "ssen": false,
"bands": [31.25, 62.5, 125, 250, 500, 1000, 2000, 4000, 8000, 16000],
"gains": [4, 3, 2, 1, 0, 0, 1, 2, 3, 4],
"drcv": [-24, 30, 12, 0.01, 0.25],
- "drch": ['tresh', 'knee', 'ratio', 'atk', 'r... | bad | review | javascript | 9001/copyparty | 8f4bb8033a74ddc7a0e3a99918f74efffc95b475 |
diff --git a/copyparty/web/browser.js b/copyparty/web/browser.js
index 70c623567..eb6d2a65a 100644
--- a/copyparty/web/browser.js
+++ b/copyparty/web/browser.js
@@ -290,6 +290,7 @@ if (1)
"ml_tint": "tint",
"ml_eq": "audio equalizer",
"ml_drc": "dynamic range compressor",
+ "ml_ss": "skip silence",
"mt_l... | good | review_fixed | javascript | 9001/copyparty | 8f4bb8033a74ddc7a0e3a99918f74efffc95b475 |
@@ -2583,6 +2591,8 @@ var mpui = (function () {
// occasionally draw buffered regions
if (nth % 5 == 0)
pbar.drawbuf();
+
+ if (!IE && jread('au_ss', false)) skipSilence(); | bad | review | javascript | 9001/copyparty | 8f4bb8033a74ddc7a0e3a99918f74efffc95b475 |
diff --git a/copyparty/web/browser.js b/copyparty/web/browser.js
index 70c623567..eb6d2a65a 100644
--- a/copyparty/web/browser.js
+++ b/copyparty/web/browser.js
@@ -290,6 +290,7 @@ if (1)
"ml_tint": "tint",
"ml_eq": "audio equalizer",
"ml_drc": "dynamic range compressor",
+ "ml_ss": "skip silence",
"mt_l... | good | review_fixed | javascript | 9001/copyparty | 8f4bb8033a74ddc7a0e3a99918f74efffc95b475 |
@@ -2769,6 +2783,7 @@ var afilt = (function () {
r.gains = gains;
r.drcv = jread('au_drcv', r.drcv);
+ r.sscv = jread('au_sscv', r.sscv) | bad | review | javascript | 9001/copyparty | 8f4bb8033a74ddc7a0e3a99918f74efffc95b475 |
diff --git a/copyparty/web/browser.js b/copyparty/web/browser.js
index 70c623567..eb6d2a65a 100644
--- a/copyparty/web/browser.js
+++ b/copyparty/web/browser.js
@@ -290,6 +290,7 @@ if (1)
"ml_tint": "tint",
"ml_eq": "audio equalizer",
"ml_drc": "dynamic range compressor",
+ "ml_ss": "skip silence",
"mt_l... | good | review_fixed | javascript | 9001/copyparty | 8f4bb8033a74ddc7a0e3a99918f74efffc95b475 |
@@ -9929,6 +9984,94 @@ function reload_browser() {
dsel_init();
})();
+function skipSilence() {
+ var ae = mp.au;
+ var ssconf = jread('au_sscv', [1, 5, 5, 5.0, 0.2]); | bad | review | javascript | 9001/copyparty | 8f4bb8033a74ddc7a0e3a99918f74efffc95b475 |
diff --git a/copyparty/web/browser.js b/copyparty/web/browser.js
index 70c623567..eb6d2a65a 100644
--- a/copyparty/web/browser.js
+++ b/copyparty/web/browser.js
@@ -290,6 +290,7 @@ if (1)
"ml_tint": "tint",
"ml_eq": "audio equalizer",
"ml_drc": "dynamic range compressor",
+ "ml_ss": "skip silence",
"mt_l... | good | review_fixed | javascript | 9001/copyparty | 8f4bb8033a74ddc7a0e3a99918f74efffc95b475 |
@@ -9929,6 +9984,94 @@ function reload_browser() {
dsel_init();
})();
+function skipSilence() {
+ var ae = mp.au;
+ var ssconf = jread('au_sscv', [1, 5, 5, 5.0, 0.2]);
+
+ var config = {
+ vthresh: ssconf[0],
+ sthresh: ssconf[1],
+ etresh: ssconf[2],
+ sspeed: ssconf[3],
+ rspeed: ssconf[4],
+ loopInterval:... | bad | review | javascript | 9001/copyparty | 8f4bb8033a74ddc7a0e3a99918f74efffc95b475 |
diff --git a/copyparty/web/browser.js b/copyparty/web/browser.js
index 70c623567..eb6d2a65a 100644
--- a/copyparty/web/browser.js
+++ b/copyparty/web/browser.js
@@ -290,6 +290,7 @@ if (1)
"ml_tint": "tint",
"ml_eq": "audio equalizer",
"ml_drc": "dynamic range compressor",
+ "ml_ss": "skip silence",
"mt_l... | good | review_fixed | javascript | 9001/copyparty | 8f4bb8033a74ddc7a0e3a99918f74efffc95b475 |
@@ -36,10 +36,10 @@ window.baguetteBox = (function () {
touchFlag = false, // busy
scrollCSS = ['', ''],
scrollTimer = 0,
- re_i = /^[^?]+\.(a?png|avif|bmp|gif|heif|jpe?g|jfif|svg|webp)(\?|$)/i,
+ re_i = /^[^?]+\.(a?png|avif|bmp|gif|heif|jpe?g|jfif|svg|webp|jxl)(\?|$)/i, | bad | review | javascript | 9001/copyparty | fe4d560e4ab9cb2f7cd221943e32a5bf25f649ef |
diff --git a/copyparty/web/baguettebox.js b/copyparty/web/baguettebox.js
index 4b132a494..c8fbeecbf 100644
--- a/copyparty/web/baguettebox.js
+++ b/copyparty/web/baguettebox.js
@@ -36,7 +36,7 @@ window.baguetteBox = (function () {
touchFlag = false, // busy
scrollCSS = ['', ''],
scrollTimer ... | good | review_fixed | javascript | 9001/copyparty | fe4d560e4ab9cb2f7cd221943e32a5bf25f649ef |
@@ -36,10 +36,10 @@ window.baguetteBox = (function () {
touchFlag = false, // busy
scrollCSS = ['', ''],
scrollTimer = 0,
- re_i = /^[^?]+\.(a?png|avif|bmp|gif|heif|jpe?g|jfif|svg|webp)(\?|$)/i,
+ re_i = /^[^?]+\.(a?png|avif|bmp|gif|heif|jpe?g|jfif|svg|webp|jxl)(\?|$)/i,
... | bad | review | javascript | 9001/copyparty | fe4d560e4ab9cb2f7cd221943e32a5bf25f649ef |
diff --git a/copyparty/web/baguettebox.js b/copyparty/web/baguettebox.js
index 4b132a494..c8fbeecbf 100644
--- a/copyparty/web/baguettebox.js
+++ b/copyparty/web/baguettebox.js
@@ -36,7 +36,7 @@ window.baguetteBox = (function () {
touchFlag = false, // busy
scrollCSS = ['', ''],
scrollTimer ... | good | review_fixed | javascript | 9001/copyparty | fe4d560e4ab9cb2f7cd221943e32a5bf25f649ef |
@@ -1147,22 +1147,26 @@ function read_sbw() {
onresize100.add(read_sbw, true);
-var have_webp = sread('have_webp');
-(function () {
- if (have_webp !== null)
+function check_image_support(format, uri) {
+ var cached = sread('have_' + format); | bad | review | javascript | 9001/copyparty | fe4d560e4ab9cb2f7cd221943e32a5bf25f649ef |
diff --git a/copyparty/web/browser.js b/copyparty/web/browser.js
index eb6d2a65a..17787ca11 100644
--- a/copyparty/web/browser.js
+++ b/copyparty/web/browser.js
@@ -1154,22 +1154,26 @@ function read_sbw() {
onresize100.add(read_sbw, true);
-var have_webp = sread('have_webp');
-(function () {
- if (have_webp !== nu... | good | review_fixed | javascript | 9001/copyparty | fe4d560e4ab9cb2f7cd221943e32a5bf25f649ef |
@@ -89,10 +90,10 @@ def get(self, dbv: VFS, rem: str, mtime: float, fmt: str) -> Optional[str]:
preferred = self.args.th_dec[0] if self.args.th_dec else ""
- if rem.startswith(".hist/th/") and rem.split(".")[-1] in ["webp", "jpg", "png"]:
+ if rem.startswith(".hist/th/") and rem.split(".")[-1... | bad | review | python | 9001/copyparty | fe4d560e4ab9cb2f7cd221943e32a5bf25f649ef |
diff --git a/copyparty/th_cli.py b/copyparty/th_cli.py
index 384316eeb..5297b6b90 100644
--- a/copyparty/th_cli.py
+++ b/copyparty/th_cli.py
@@ -8,7 +8,7 @@
from .__init__ import TYPE_CHECKING
from .authsrv import VFS
from .bos import bos
-from .th_srv import EXTS_AC, HAVE_WEBP, thumb_path
+from .th_srv import EXTS_... | good | review_fixed | python | 9001/copyparty | fe4d560e4ab9cb2f7cd221943e32a5bf25f649ef |
@@ -117,8 +118,10 @@ eclair {
timeout = 60 seconds
}
- dust-limit-satoshis = 546
- max-remote-dust-limit-satoshis = 600
+ // Now that most channels use anchor outputs, HTLCs aren't trimmed based on feerate, so we need to set our dust
+ // limit to an amount that is economical to spend on-chain... | bad | review | ACINQ/eclair | 8c75c5caa7f47ee228ff318f528fc62f92505f88 | |
diff --git a/eclair-core/src/main/resources/reference.conf b/eclair-core/src/main/resources/reference.conf
index 64a988c122..87741f1ab9 100644
--- a/eclair-core/src/main/resources/reference.conf
+++ b/eclair-core/src/main/resources/reference.conf
@@ -76,6 +76,7 @@ eclair {
option_quiesce = optional
option_att... | good | review_fixed | ACINQ/eclair | 8c75c5caa7f47ee228ff318f528fc62f92505f88 | |
@@ -190,6 +217,11 @@ object Transactions {
}
object RedeemInfo {
sealed trait SegwitV0 extends RedeemInfo { def redeemScript: ByteVector }
+ /** @param publicKey the public key for this p2wpkh input. */
+ case class P2wpkh(publicKey: PublicKey) extends SegwitV0 {
+ override val redeemScript: ByteV... | bad | review | scala | ACINQ/eclair | 8c75c5caa7f47ee228ff318f528fc62f92505f88 |
diff --git a/eclair-core/src/main/scala/fr/acinq/eclair/transactions/Transactions.scala b/eclair-core/src/main/scala/fr/acinq/eclair/transactions/Transactions.scala
index a9b9c981a5..d53e614275 100644
--- a/eclair-core/src/main/scala/fr/acinq/eclair/transactions/Transactions.scala
+++ b/eclair-core/src/main/scala/fr/ac... | good | review_fixed | scala | ACINQ/eclair | 8c75c5caa7f47ee228ff318f528fc62f92505f88 |
@@ -2416,102 +2416,104 @@ class Channel(val nodeParams: NodeParams, val channelKeys: ChannelKeys, val wall
case Event(INPUT_RECONNECTED(r, localInit, remoteInit), d: DATA_WAIT_FOR_DUAL_FUNDING_SIGNED) =>
activeConnection = r
+ val d1 = Helpers.updateFeatures(d, localInit, remoteInit) | bad | review | scala | ACINQ/eclair | d395c5509180936d771cae00c54ec2279bb94287 |
diff --git a/eclair-core/src/main/scala/fr/acinq/eclair/channel/fsm/Channel.scala b/eclair-core/src/main/scala/fr/acinq/eclair/channel/fsm/Channel.scala
index 407f0cb903..af889c5140 100644
--- a/eclair-core/src/main/scala/fr/acinq/eclair/channel/fsm/Channel.scala
+++ b/eclair-core/src/main/scala/fr/acinq/eclair/channel... | good | review_fixed | scala | ACINQ/eclair | d395c5509180936d771cae00c54ec2279bb94287 |
@@ -128,6 +128,7 @@
191acabbce3e466008fe4274d09793603eb0083e3b36c692feb958aa8b067821 com/typesafe/akka/akka-cluster-tools_2.13/2.6.20/akka-cluster-tools_2.13-2.6.20.jar
1933a6037439b389bda2feaccfc0113880fd8d88f7d240d2052b91108dd5ae89 org/apache/apache/5/apache-5.pom
1955432f6d8af32806d82d8218fedfe4be3bb3e23d59a74d... | bad | review | ACINQ/eclair | a86a2293cd4cf272bdee918956d1bd9299e9873c | |
diff --git a/.mvn/checksums/checksums-central.sha256 b/.mvn/checksums/checksums-central.sha256
index 2182f6ed6d..302b72a978 100644
--- a/.mvn/checksums/checksums-central.sha256
+++ b/.mvn/checksums/checksums-central.sha256
@@ -128,6 +128,7 @@
191acabbce3e466008fe4274d09793603eb0083e3b36c692feb958aa8b067821 com/typesa... | good | review_fixed | ACINQ/eclair | a86a2293cd4cf272bdee918956d1bd9299e9873c | |
@@ -56,6 +63,47 @@ object Monitoring {
}
}
+ def recordInteractiveTx(fundingParams: InteractiveTxParams, sharedTx: SharedTransaction, liquidityPurchase_opt: Option[LiquidityAds.Purchase]): Unit = { | bad | review | scala | ACINQ/eclair | 306480c9d4363f675b279e4b565b2a4503f13345 |
diff --git a/eclair-core/src/main/scala/fr/acinq/eclair/channel/Monitoring.scala b/eclair-core/src/main/scala/fr/acinq/eclair/channel/Monitoring.scala
index d0322f1c6f..23c1aee886 100644
--- a/eclair-core/src/main/scala/fr/acinq/eclair/channel/Monitoring.scala
+++ b/eclair-core/src/main/scala/fr/acinq/eclair/channel/Mo... | good | review_fixed | scala | ACINQ/eclair | 306480c9d4363f675b279e4b565b2a4503f13345 |
@@ -33,6 +33,10 @@ object Monitoring {
val HtlcValueInFlightGlobal = Kamon.gauge("channels.htlc-value-in-flight-global", "Global HTLC value in flight across all channels")
val LocalFeeratePerByte = Kamon.histogram("channels.local-feerate-per-byte")
val RemoteFeeratePerByte = Kamon.histogram("channels.rem... | bad | review | scala | ACINQ/eclair | 0c8bfec956f35c22cf561de16da209986a448cb6 |
diff --git a/eclair-core/src/main/scala/fr/acinq/eclair/channel/Monitoring.scala b/eclair-core/src/main/scala/fr/acinq/eclair/channel/Monitoring.scala
index 863de3a8b3..d0322f1c6f 100644
--- a/eclair-core/src/main/scala/fr/acinq/eclair/channel/Monitoring.scala
+++ b/eclair-core/src/main/scala/fr/acinq/eclair/channel/Mo... | good | review_fixed | scala | ACINQ/eclair | 0c8bfec956f35c22cf561de16da209986a448cb6 |
End of preview. Expand in Data Studio
Description
Labelled good/bad code-edit snippets (text, label, category) for training a quality classifier.
Derived dataset. Source material retains its original per-item licence (see
source/repocolumns); treat as other / mixed. Provided as-is.
Usage
from datasets import load_dataset
ds = load_dataset("PotatoHD/code-edit-negatives-cls")
- Downloads last month
- 10